Toutes les versions v0.1.2609 Sep 2026JavaScript et JIT Flux

Les notes de version sont rédigées en anglais.

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.

Ce qui a changé

3 changements
  1. JavaScript et 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 et 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 et 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.
Tout depuis la v0.1.260 au même endroit

Versions

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

novembre2026 · 1 version

octobre2026 · 7 versions

septembre2026 · 3 versions

août2026 · 18 versions

14614 AoûWebAssembly modules can call JavaScriptv0.1.146 · Rendu 14414 AoûExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript et JIT 13514 AoûDevTools automation: the methods a real driver reaches forv0.1.135 · API web et DOM 12413 AoûPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Rendu 12213 AoûTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AoûTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Onglets et interface 12013 AoûDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AoûDevTools: a Sources panel with a clickable line gutterv0.1.119 · Onglets et interface 11811 AoûDevTools debugger: step over, into and outv0.1.118 · JavaScript et JIT 1177 AoûDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AoûDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AoûDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AoûDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AoûVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Onglets et interface 1127 AoûDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AoûThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AoûThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AoûOne press, and you are on the new versionv0.1.70 · Onglets et interface

juillet2026 · 3 versions