Alle weergawes v0.1.4024 Nov 2026Vertoning, Web-API’s en DOM, Geheue en lees, Oortjies en koppelvlak Voer

Die weergawenotas is in Engels geskryf.

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
Hoogtepunte3

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

Wat verander het

8 veranderinge
  1. Geheue en leesCanvas: 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. VertoningPerformance: 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. VertoningPerformance: canvas blending does runs of full coverage four pixels at a time, with the same bytes.
  4. VertoningCanvas: 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. Web-API’s en 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. Web-API’s en 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. Geheue en leesSecurity: 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. Oortjies en koppelvlakTesting: 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.
Alles sedert v0.1.402 op een plek

Weergawes

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

November2026 · 4 weergawes

Oktober2026 · 7 weergawes

September2026 · 10 weergawes

Augustus2026 · 26 weergawes

18218 AugNow it also spots the audio version of that tracking trickv0.1.182 · Privaatheid en Shields 17918 AugLonger videos now play all the way throughv0.1.179 · Media 17518 AugThe browser you install now plays video, built entirely from its own codev0.1.175 · Media 17218 AugSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Media 17116 AugThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Media 16916 AugDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Media 16816 AugThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Media 16715 AugMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Media 16615 AugWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Media 16115 AugGPU 3D transforms: every container renders on the devicev0.1.161 · Vertoning 16015 AugGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web-API’s en DOM 13113 AugBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Vertoning 12913 AugVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Media 12513 AugfMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Media 1117 AugWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Media 1107 AugWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Media 1097 AugWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Media 1087 AugStereo Web Audio: real panning and per-channel routingv0.1.108 · Media 1057 AugHTTP/2: the modern web transport, from scratchv0.1.105 · Media 1027 AugModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript en JIT 976 AugReal captionsv0.1.97 · Vertoning 966 AugStateful audio DSP: filters, delay and waveshapingv0.1.96 · Media 956 AugReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Media 866 AugReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Vertoning 815 AugBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript en JIT 661 AugThe worst score on the board turned out to be a cookie bannerv0.1.66 · Vertoning9

Julie2026 · 10 weergawes