所有版本 v0.1.4121 七月 2026渲染, JavaScript 与 JIT, Web API 与 DOM 订阅

版本说明以英文撰写。

Pages lay out faster, and even more JavaScript becomes machine code

Two threads of work in one release. First, rendering speed: we profiled real pages instead of guessing, and found that most of the time went into styling and layout, not scripts. Fixing what the profile showed - selectors were being re-parsed over and over, style lookups used a needlessly heavy hash, text was re-measured character by character - made an encyclopedia-length article about 38 percent faster to render, with pixel-for-pixel identical output. Along the way the profiler exposed a real layout bug: a box could report a narrower natural width after layout had already wrapped its text, which is backwards. Fixing it visibly improved real pages - on a link-sharing site, story titles and their domain now share one line exactly as the reference browser renders them. Second, the JavaScript engine: four more loop shapes now compile to machine code. Loops that call a small helper function inline the helper into the generated code and run about 27 times faster. Text scanning with charCodeAt runs about 81 times faster than the interpreter. Loops that declare their own variables - an everyday pattern that previously never got optimized at all - now reach machine code too, as do loops that write to several arrays per pass. Every change shipped the same way as the JIT itself: multi-million-case bit-exact fuzzing, a six-way conformance gate, and byte-identical render comparisons.

改动内容

5 项改动
  1. 渲染Real pages render about a third faster: selector matching is memoized, style lookups use a fast hash, and text measurement caches glyph metrics. An encyclopedia-length article went from 8.1 to 5.1 seconds in the engine renderer, byte-identical output.
  2. Web API 与 DOMA real layout bug found and fixed: natural (max-content) width was measured from already-wrapped line fragments, so it shrank after layout ran. On a link-sharing site, story titles and their domains now share one line, matching the reference browser.
  3. JavaScript 与 JITLoops that call small helper functions now inline them into machine code: s += f(i) runs about 27x faster. Helpers with their own local variables inline too.
  4. JavaScript 与 JITText scanning compiles to machine code: charCodeAt loops (hashing, tokenizing) run about 81x faster than the interpreter, with every index edge case - negative, fractional, NaN, out of range, empty strings, non-Latin text - verified bit-identical.
  5. JavaScript 与 JITLoops that declare their own variables (var t = a[i]; ...) previously never got optimized at all; they now run in machine code, 30-50x faster on that shape. Multi-write array loops compile too.
v0.1.41 之后的所有内容,集中在一处

版本

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

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

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

七月2026 · 3 个版本