Dukkan sigogi v0.1.4024 Nov 2026Zane shafi, APIs na yanar gizo da DOM, Ƙwaƙwalwa da karatu, Shafuka da fuska Feed

An rubuta bayanan sabuntawa da Turanci.

A canvas that moves itself to the GPU

Canvas games and busy drawing pages now run on the GPU: 1500 turning sprites went from 38 to 62 frames a second at the same memory, with every pixel the same bytes as the software canvas on Apple Silicon and DirectX 12. A canvas shadow drawn again is about five times faster too. 8 changes, each with its own off switch or a law in the test gate. The GPU row holds at 65 and the overall score at 74: shapes and text on a canvas still run in software.

38 -> 621500 turning sprites at 1280x720, frames a second
61.7 -> 15.2 ms (reference 7.4)Scaled sprites x5000
16.5 -> 3.2 ms200 shadows
Muhimman abubuwa3

A canvas that moves itself to the GPU

A canvas page can read its own pixels at any moment, so the GPU's answer has to match the software's exactly, or a script sees something different depending on which one drew. That is why we rewrote image sampling in whole numbers first. Then came the part a page should never notice. Draws now wait in a list. A canvas that draws many images moves to the GPU, and a canvas that turns to shapes moves back, because software still draws those faster. Anything that reads the canvas finishes the list first. A law runs random drawing on both and compares the bytes every round, on Apple Silicon and on DirectX 12. In the app, 1500 turning sprites went from 38 to 62 frames a second at the same memory.

1500 turning sprites at 1280x720, frames a second38 -> 62Time for one frame25.5 -> 13.8 msBrowser memory on that page333 -> 335 MBPixels that differ from software0

Faster, and why we are not done

Against the reference browser this is a mixed result, so here it is plainly. On the benchmark's 11 rows, the same bytes come out of our GPU and our software on every row. We are ahead on fullscreen fills and on reading pixels back. The reference's GPU is still ahead on scaled and rotated sprites, and its software is ahead on shapes, lines, gradients, text and shadows. Moving shapes and text over is next, and the GPU row of the score stays at 65 until that work is measured.

Scaled sprites x500061.7 -> 15.2 ms (reference 7.4)Rotated sprites x200054.7 -> 25.1 ms (reference 4.3)Fullscreen rectangles x10030.8 ms (reference 68.3)Reading a full canvas x2012.4 ms (reference 14.7)

The same shadow, once

Blurring a shadow is the slow part of drawing it, and a page often draws the same one many times. A canvas now keeps its last 8 finished shadows, up to 1 MB each, and compares the whole shape before reusing one. We kept this per canvas on purpose. A cache shared across pages would let one page time what another has drawn, and the speed is not worth that.

200 shadows16.5 -> 3.2 msShadows kept per canvas8, at most 1 MB each

Abin da ya canza

canje-canje 8
  1. Ƙwaƙwalwa da karatuCanvas: a canvas remembers the shadows it has finished, so the same shadow drawn again costs a copy, not another blur: 16.5 -> 3.2 ms on the test, the same bytes. The memory is per canvas and never shared, so one page cannot time what another has drawn.
  2. Zane shafiPerformance: a glyph drawn to the right of the text so far is copied instead of blended, which is what most of a line of text is.
  3. Zane shafiPerformance: canvas blending does runs of full coverage four pixels at a time, with the same bytes.
  4. Zane shafiCanvas: a low-quality image draw finds its texels in whole numbers from its own corner. It used decimals, which a GPU cannot be trusted to round the same way, and it is level with the reference browser.
  5. APIs na yanar gizo da DOMGPU: canvas image draws are sampled on the GPU in the software's whole numbers, the same bytes: 5000 scaled sprites 60.8 -> 11.5 ms with a read-back on every frame.
  6. APIs na yanar gizo da DOMGPU: a busy image canvas moves to the GPU by itself and comes back when it starts drawing mostly shapes, which software still does faster. Draws wait in a list, and everything that reads the canvas finishes them first, so a script can never see a half-drawn frame. Sprites at their own size 14.9 -> 11.7 ms, rotated 54.7 -> 25.1 ms, scaled 61.7 -> 15.2 ms.
  7. Ƙwaƙwalwa da karatuSecurity: limits on what a page can make the GPU do: 4096 operations, 32 MB and 2^26 pixels in a batch, 64 MB of GPU memory per canvas and 512 MB in total. A batch waits for the last one to finish, so a page cannot pile work on the shared device.
  8. Shafuka da fuskaTesting: the Windows stage now fails instead of skipping if the live canvas law finds no GPU, and that law was seen running on DirectX 12.
Duk tun v0.1.402 a wuri ɗaya

Sigogi

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

November2026 · sigogi 40

42725 NovLayouts that remember their workMafi sabo · v0.1.427 · Zane shafi9 42625 NovCompiled with what real pages runv0.1.426 · JavaScript da JIT 42525 NovBuilt with whole-program optimizationv0.1.425 · Zane shafi 42425 NovMore layout reused after a script changes the pagev0.1.424 · Zane shafi 42324 NovThe optimizing compiler works off the main threadv0.1.423 · Zane shafi 42222 NovText-reading loops and element-tree builders run fasterv0.1.422 · JavaScript da JIT14 42122 NovCalls from loops run inside the loop's own machine codev0.1.421 · JavaScript da JIT9 42021 NovPages you come back to run their scripts soonerv0.1.420 · Zane shafi17 41918 NovA faster interpreter runs the page's codev0.1.419 · JavaScript da JIT12 41815 NovScripts run faster on busy pagesv0.1.418 · JavaScript da JIT34 41711 NovPages wait less for their own scripts and stylesv0.1.417 · JavaScript da JIT13 41611 NovWebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript da JIT 41510 NovWebGPU loops count right on Macsv0.1.415 · JavaScript da JIT 41410 NovWebGPU runs in its own graphics processv0.1.414 · Zane shafi 41310 NovA graphics card reset no longer takes the browser downv0.1.413 · Zane shafi 4129 NovVideo moves to the graphics cardv0.1.412 · Kafofin watsa labarai 4119 NovNo canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · Zane shafi 4109 NovCanvas drawing moves to the graphics cardv0.1.410 · Zane shafi27 4098 NovEvery tile on the GPUv0.1.409 · Zane shafi26 4088 Nov3D at 120 frames a secondv0.1.408 · Zane shafi23 4077 NovWebGL 2v0.1.407 · Zane shafi36 4066 NovA stuck tab stops at oncev0.1.406 · Zane shafi16 4055 NovSmall WebGL drawings get smooth edgesv0.1.405 · Zane shafi 4045 NovWebGL pages finally movev0.1.404 · Zane shafi25 4035 NovWebGPU is herev0.1.403 · Zane shafi35 4024 NovA canvas that moves itself to the GPUv0.1.402 · Zane shafi 4014 Nov99% of real pages decided by the GPUv0.1.401 · Zane shafi9 4004 NovSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Zane shafi15 3994 NovAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Zane shafi22 3984 NovGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Zane shafi14 3973 NovTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Zane shafi 3963 NovAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Zane shafi 3953 NovCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Zane shafi12 3943 NovBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Zane shafi 3932 NovStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Zane shafi 3922 NovIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Shafuka da fuska 3911 NovEmoji in colour, sized as in the reference browserv0.1.391 · JavaScript da JIT 3901 NovA classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript da JIT12 3891 NovA computer maker's home page: navigation labels back, buttons apartv0.1.389 · Zane shafi 3881 NovA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Zane shafi18
October2026sigogi 58 September2026sigogi 124 August2026sigogi 140 July2026sigogi 56