所有版本 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 · 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 个版本