所有版本 v0.1.41815 十一月 2026渲染, JavaScript 与 JIT, 记忆与阅读 订阅

版本说明以英文撰写。

Scripts run faster on busy pages

A speed release for the engine. Loops, calls and classes stay on the compiled paths more often, bitwise math and array callbacks do less work per step, and a class made inside a function no longer keeps that function's whole scope alive. On nine real pages, script, style and layout time fell by 5% overall against 0.1.417, and no page got slower.

2.20 -> 1.97 sA code-hosting page
80 -> 0.9 msDerived class with super(), hot loop
797 -> 311 MB peakA class made per call, 400k instances, 10 calls
亮点3

Busy pages finish their work sooner

Three of nine recorded real pages got measurably faster and the other six held level, measured on the same recorded network traffic for both versions. The gain comes from many small changes: compiled code that keeps more loops and calls, fewer copies of short values, and faster name checks.

A code-hosting page2.20 -> 1.97 sA technology news page1.82 -> 1.68 sA browser-support tables page156 -> 146 msNine real pages together8.33 -> 7.91 s, none slower

Classes, calls and loops on faster paths

A derived class made in a loop is built from a template again, calls between compiled functions pass their arguments in registers, functions with a rest parameter compile, and wide object literals stay in the fastest loop tier.

Derived class with super(), hot loop80 -> 0.9 msCalls between compiled helpers52 -> 19 msRest parameters in a hot call137 -> 25.5 msJSON.parse of many objects6.4 -> 3.9 ms

A class per call no longer piles up

A class or method defined inside a function used to keep that function's whole scope alive, with everything the scope held, even when the method used none of it. Methods that need no outer name now hang off the outermost scope, once a literal has made a few of them.

A class made per call, 400k instances, 10 calls797 -> 311 MB peak

改动内容

34 项改动
  1. JavaScript 与 JITSpeed: a derived class made in a hot loop is built from its template again (super(...) into a templated parent stores nothing new): 80 -> 0.9 ms.
  2. JavaScript 与 JITSpeed: a method loop handed between two compiled tiers races both and keeps the faster one, and stale method checks are rebuilt once they cost more than they save (method loop 6.4 -> 0.26 ms, a class per call 33 -> 0.5 ms). Switches: FLOATI_NO_HANDOFF_RACE, FLOATI_NO_STALE_AMORTISE.
  3. 记忆与阅读Memory: a class or method that reads no outer name hangs off the outermost scope instead of keeping the function's whole scope alive, judged at a literal's fourth closure (a class per call: 797 -> 311 MB). Switches: FLOATI_NO_FREE_TRIM, FLOATI_FREE_JUDGE_AFTER.
  4. JavaScript 与 JITSpeed: a helper declared inside a function that is called again and again no longer re-runs the choice of compiled tier for each new copy of it. Switch: FLOATI_NO_RACE_VERDICT_SHARE.
  5. JavaScript 与 JITSpeed: the fastest loop tier builds object literals with up to 32 keys (was 8): a 9-key literal no longer drops its loop to a slower tier, 6.8 -> 1.7 ms. Switch: FLOATI_NATIVE_OBJ_KEYS.
  6. JavaScript 与 JITSpeed: loops on the register tier keep their body compiled, and compiled code converts values to strings or numbers inline: array pushes 4.8 -> 0.6 ms, destructuring 59 -> 35 ms, sorting objects 7.8 -> 4.1 ms, template strings 14.3 -> 9.1 ms. Switches: FLOATI_NO_LOOP_AHEAD_NATIVE_ONLY, FLOATI_NO_PLAN_TO_PRIM_INLINE.
  7. 记忆与阅读Speed: string methods are remembered per call site, and s.replace(regex, text) skips the general call path.
  8. JavaScript 与 JITSpeed: functions with a rest parameter compile, and the rest array is made at entry: 137 -> 25.5 ms. Switch: FLOATI_NO_PLAN_REST.
  9. JavaScript 与 JITSpeed: calls between compiled functions pass their arguments in registers, and small numeric helpers are copied into their callers: 52 -> 19 ms. Switches: FLOATI_NO_CROSS_LEAN, FLOATI_NO_PEEL_ARITH.
  10. JavaScript 与 JITSpeed: JSON.parse checks for repeated keys with a set once an object has more than 16 keys: 6.4 -> 3.9 ms. Switch: FLOATI_NO_JSON_SEEN_SET.
  11. JavaScript 与 JITSpeed: Map and Set lookups with number keys and short string splits run inside compiled loops.
  12. JavaScript 与 JITSpeed: /regex/.test(x) on a regex literal runs inside compiled loops.
  13. JavaScript 与 JITSpeed: helpers that write their locals after a branch, read an array argument, or run a loop of their own are copied into compiled loops (a numeric helper loop 7.4 -> 0.9 us). Switches: FLOATI_NO_INLINE_LOOPS, FLOATI_NO_INLINE_LOOPS_NATIVE.
  14. JavaScript 与 JITSpeed: the optimizing compiler is 2.6 times faster on large functions.
  15. JavaScript 与 JITSpeed: a global regex replace for simple repeated patterns runs in one pass, and short indexOf and charCodeAt calls stay in compiled loops (regex row 10.2 -> 8.8 ms).
  16. 记忆与阅读Memory: function values point straight at their code, and the record each function carries shrank from 112 to 80 bytes. Switch: FLOATI_NO_FN_DIRECT.
  17. 记忆与阅读Speed: code run through indirect eval, new Function or an inserted script remembers where its names live, like a normal script. Switch: FLOATI_GLOBAL_EVAL_DYNAMIC.
  18. JavaScript 与 JITSpeed: bitwise operators convert their numbers to 32-bit integers without a floating-point division (a bitwise loop with the compiler off: 2.16 -> 1.81 s). Switch: FLOATI_NO_INT_WRAP.
  19. 渲染Speed: names up to 16 letters are compared without a library call, which every cached property and global lookup does. Switch: FLOATI_NO_SHORT_COMPARE.
  20. JavaScript 与 JITSpeed: map, filter, forEach, reduce and the other array methods pass each callback its value, index and array without allocating a list per element (compiler off: 4.3 -> 3.4 s). Switch: FLOATI_NO_CB_ARGS_STACK.
  21. 渲染Speed: a large style sheet is parsed in memoized runs of top-level rules, and selector plans are reused when the rule index is rebuilt.
  22. 记忆与阅读Speed: getComputedStyle reuses its property names and remembers converted colours.
  23. 渲染Speed: checking a class body for super walks the syntax tree instead of copying and printing it.
  24. 记忆与阅读Speed: the memory allocator takes back blocks freed by other threads only for pages whose own free list is empty.
  25. JavaScript 与 JITSpeed: promises and async resume records are built from one cached layout. Switch: FLOATI_NO_FIXED_SHAPES.
  26. JavaScript 与 JITFix: Object.keys of a promise no longer lists an internal handled mark after then() was called.
  27. 渲染Fix: an anonymous class has no name, and a property key names a class value as it names a function.
  28. 渲染Fix: a plain function call sees new.target as undefined, so a nested function no longer sees an outer constructor's. Switch: FLOATI_NO_PLAIN_NEWTARGET.
  29. 渲染Fix: var arguments inside a function keeps the arguments object instead of resetting it. Switch: FLOATI_VAR_ARGUMENTS_RESETS.
  30. 渲染Fix: computed keys in an object literal are converted in source order.
  31. 渲染Fix: [].slice.call(arguments) reads the current values of the parameters.
  32. 渲染Fix: a class name is in its dead zone until the class is declared, so typeof before the declaration throws as in the reference browser. Switch: FLOATI_NO_CLASS_TDZ.
  33. 渲染Fix: in strict code a function declared inside a block is not visible outside it. Switch: FLOATI_NO_ANNEXB_SCOPE_FIX.
  34. 渲染Engine: a new register interpreter now covers classes, generators, async functions, eval code, super and spread calls; it stays switched off (FLOATI_LAMINAR=1 turns it on) until it is faster on real pages.
v0.1.418 之后的所有内容,集中在一处

版本

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