所有版本 v0.1.2609 九月 2026JavaScript 与 JIT 订阅

版本说明以英文撰写。

Faster JavaScript: loops that call a small stateful closure

A speed improvement for one of the most common patterns on the web: a loop that repeatedly calls a small function which remembers a value between calls, a counter, an accumulator, an iterator step, a stateful callback. These used to get no benefit from the engine's just-in-time compiler at all, because the loop fell back to the slow interpreter the moment the called function updated a captured variable. The engine now compiles them, and such loops run about three times faster (measured 2.8 to 3.5x on counters, accumulators and multi-variable closures). This is the shape behind a huge amount of real code, event tallies, animation steppers, reducers, memoizers, so pages that lean on it feel snappier. The change is held to the engine's usual correctness bar: it was checked against tens of thousands of randomly generated programs run both compiled and interpreted, with identical results required, so speed never comes at the cost of a wrong answer. Code that does not use this pattern is unchanged. The JavaScript performance aspect moves 49 to 50; the overall platform score stays at 70.

改动内容

3 项改动
  1. JavaScript 与 JITStateful-closure loops are compiled, not interpreted. A loop calling a small function that updates a captured variable (a counter's ++n, a reducer's total += x, a two-variable step) now runs on the compiler instead of falling back to the interpreter, about three times faster where before there was no speed-up.
  2. JavaScript 与 JITMulti-variable and shared closures are handled. Closures that write several captured variables, and separate calls that share the same captured state, are all compiled correctly, with the captured values committed and rolled back safely so a mid-loop bail-out never leaves a half-written value.
  3. JavaScript 与 JITVerified against tens of thousands of random programs. A new differential test generated 31,500 random closure-in-loop programs and ran each both compiled and interpreted, requiring identical results, alongside the full conformance suite, so the speed-up is proven not to change any answer.
v0.1.260 之后的所有内容,集中在一处

版本

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

十一月2026 · 40 个版本

42725 十一月Layouts that remember their work最新 · v0.1.427 · 渲染9 42625 十一月Compiled with what real pages runv0.1.426 · JavaScript 与 JIT 42525 十一月Built with whole-program optimizationv0.1.425 · 渲染 42425 十一月More layout reused after a script changes the pagev0.1.424 · 渲染 42324 十一月The optimizing compiler works off the main threadv0.1.423 · 渲染 42222 十一月Text-reading loops and element-tree builders run fasterv0.1.422 · JavaScript 与 JIT14 42122 十一月Calls from loops run inside the loop's own machine codev0.1.421 · JavaScript 与 JIT9 42021 十一月Pages you come back to run their scripts soonerv0.1.420 · 渲染17 41918 十一月A faster interpreter runs the page's codev0.1.419 · JavaScript 与 JIT12 41815 十一月Scripts run faster on busy pagesv0.1.418 · JavaScript 与 JIT34 41711 十一月Pages wait less for their own scripts and stylesv0.1.417 · JavaScript 与 JIT13 41611 十一月WebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript 与 JIT 41510 十一月WebGPU loops count right on Macsv0.1.415 · JavaScript 与 JIT 41410 十一月WebGPU runs in its own graphics processv0.1.414 · 渲染 41310 十一月A graphics card reset no longer takes the browser downv0.1.413 · 渲染 4129 十一月Video moves to the graphics cardv0.1.412 · 媒体 4119 十一月No canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · 渲染 4109 十一月Canvas drawing moves to the graphics cardv0.1.410 · 渲染27 4098 十一月Every tile on the GPUv0.1.409 · 渲染26 4088 十一月3D at 120 frames a secondv0.1.408 · 渲染23 4077 十一月WebGL 2v0.1.407 · 渲染36 4066 十一月A stuck tab stops at oncev0.1.406 · 渲染16 4055 十一月Small WebGL drawings get smooth edgesv0.1.405 · 渲染 4045 十一月WebGL pages finally movev0.1.404 · 渲染25 4035 十一月WebGPU is herev0.1.403 · 渲染35 4024 十一月A canvas that moves itself to the GPUv0.1.402 · 渲染 4014 十一月99% of real pages decided by the GPUv0.1.401 · 渲染9 4004 十一月Smooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · 渲染15 3994 十一月Animations on the GPU compositor, and text that stays in its boxv0.1.399 · 渲染22 3984 十一月Gradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · 渲染14 3973 十一月Transitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · 渲染 3963 十一月Animations on the GPU compositor, and spinners that spin as arcsv0.1.396 · 渲染 3953 十一月Carousels that fade, badges that stay put, and floats that stay insidev0.1.395 · 渲染12 3943 十一月Background images over their colour, interlaced pictures, and borders in every colourv0.1.394 · 渲染 3932 十一月Style sheets in page order, and symbols that fall back like macOSv0.1.393 · 渲染 3922 十一月Icon fonts loaded by script, and colour emoji on Windowsv0.1.392 · 标签页与界面 3911 十一月Emoji in colour, sized as in the reference browserv0.1.391 · JavaScript 与 JIT 3901 十一月A classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript 与 JIT12 3891 十一月A computer maker's home page: navigation labels back, buttons apartv0.1.389 · 渲染 3881 十一月A space agency's home page, a news section and a language site's header now match the referencev0.1.388 · 渲染18
十月202658 个版本

九月2026 · 124 个版本

再显示 123 个
八月2026140 个版本 七月202656 个版本