所有版本 v0.1.42222 十一月 2026渲染, JavaScript 与 JIT 订阅

版本说明以英文撰写。

Text-reading loops and element-tree builders run faster

A speed release for the engine's compilers and layout. Loops that read text one character at a time, the way tokenizers and parsers do, now work on whole numbers. try and catch blocks recover into machine code sooner. The optimizing compiler now builds the element trees that page frameworks make with small helper functions, and layout reads margins, padding and border widths without parsing them each time. Recorded real pages spend about the same time in script, style and layout as in 0.1.421: two news pages are 1-3% faster, and one technology news page is about 0.5% slower.

1.1 -> 0.88 msA tokenizer over 30 KB of code, 12 times
14.8 -> 12.0 msBuilding and comparing a 1,000-element tree, 50 times
亮点2

Loops that read text one character at a time

A tokenizer reads a string one character code at a time and checks each code against a list of cases. Those codes are whole numbers, but compiled code held them as general numbers, so every case was a slower comparison. Now the code, its position in the text and each case of the switch are whole numbers. If a read goes past the end of the text, the loop leaves its machine code and is compiled once more in the general form, so the answer is the same.

A tokenizer over 30 KB of code, 12 times1.1 -> 0.88 ms

Element trees built in the optimizing compiler

Page frameworks build their element trees with tiny helper functions that return an object: a tag, its properties and its children. The optimizing compiler now builds these directly, including empty lists and objects, a choice between two words such as a class name, and helpers declared inside another function, which used to fail the compiled code's check on every new call.

Building and comparing a 1,000-element tree, 50 times14.8 -> 12.0 ms

改动内容

14 项改动
  1. JavaScript 与 JITSpeed: a loop reading text one character code at a time works on whole numbers, and leaves its machine code only for a position past the end of the text. Switch: FLOATI_NO_CCA_INT.
  2. JavaScript 与 JITSpeed: a counter used as a position in text stays a whole number in compiled loops. Switch: FLOATI_NO_CCA_INDEX_INT.
  3. JavaScript 与 JITSpeed: each case of a switch over a loop variable compares the number directly instead of a copy. Switch: FLOATI_NO_SWITCH_REG_CASES.
  4. JavaScript 与 JITSpeed: compiled code compares with a small constant in one instruction. Switch: FLOATI_NO_IR_CMP_IMM.
  5. JavaScript 与 JITSpeed: statements inside functions no longer keep a value only top-level code can read, so compiled loops do less each turn. Switch: FLOATI_NO_FN_BODY_POP.
  6. JavaScript 与 JITSpeed: after a throw is caught, a loop goes straight back into machine code instead of 500 slower turns first. Switch: FLOATI_NO_CATCH_REOSR.
  7. 渲染Speed: a helper's own parameter no longer counts as using the caller's variable of the same name, so the caller stays in the fastest tier. Switch: FLOATI_NO_CAPTURE_OWN_PARAMS.
  8. 渲染Speed: small helpers that compare with == or !=, take a remainder, combine bits, or check an argument and throw, run inside the calling code. Switches: FLOATI_NO_PEEL_MORE_OPS, FLOATI_NO_PEEL_THROW_GUARD.
  9. 渲染Speed: a helper declared inside another function stays inside the calling code each time that function makes it again. Switch: FLOATI_NO_PEEL_BY_TEMPLATE.
  10. JavaScript 与 JITSpeed: a try block in the fastest tier that keeps catching while it calls another function hands its loop to the loop tier, which runs that call inside the loop. Switch: FLOATI_NO_SSA_CATCH_RETIRE.
  11. 渲染Speed: new Error builds its fixed properties once instead of for every error. Switch: FLOATI_NO_ERROR_KEYS_CACHED.
  12. 渲染Fix: new Error() has no message of its own, and an error's cause is not listed among its keys, as in other browsers. Switch: FLOATI_NO_ERROR_SPEC_OWN.
  13. JavaScript 与 JITSpeed: the optimizing compiler builds element trees from small helper functions, with empty lists and objects, a choice between two words, and helpers declared inside other functions. Switches: FLOATI_NO_THERMAL_EMPTY_ARR, FLOATI_NO_THERMAL_CSTR_SEL, FLOATI_NO_THERMAL_FACTORY_CHOICE, FLOATI_NO_THERMAL_EXIT_BEFORE_MADE, FLOATI_NO_THERMAL_FACTORY_BY_TEMPLATE.
  14. 渲染Speed: layout reads margins, padding and border widths from one parsed record per style instead of parsing the text at each read (recorded pages 1.2% less layout and script time in one measurement). Switch: FLOATI_NO_LEN_SLOTS.
v0.1.422 之后的所有内容,集中在一处

版本

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 个版本