所有版本 v0.1.4024 十一月 2026渲染, Web API 与 DOM, 记忆与阅读, 标签页与界面 订阅

版本说明以英文撰写。

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
亮点3

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

改动内容

8 项改动
  1. 记忆与阅读Canvas: 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. 渲染Performance: 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. 渲染Performance: canvas blending does runs of full coverage four pixels at a time, with the same bytes.
  4. 渲染Canvas: 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 与 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 与 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. 记忆与阅读Security: 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. 标签页与界面Testing: 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.
v0.1.402 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 4 个版本

十月2026 · 7 个版本

九月2026 · 10 个版本

八月2026 · 26 个版本

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

七月2026 · 10 个版本