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

十月2026 · 7 个版本

九月2026 · 14 个版本

32026 九月Pages no longer freeze while a script waits on the networkv0.1.320 · JavaScript 与 JIT 31725 九月Closer to the reference browser, and no more address bar tricksv0.1.317 · Web API 与 DOM 30924 九月Pages arrive like they do in the reference browser, in a fraction of the memoryv0.1.309 · 网络13 30322 九月HTTP/3 is on, and it is ours: the fastest web protocol, built from scratchv0.1.303 · 网络 30222 九月The site you open stays your business, and the browser checks every certificate itselfv0.1.302 · 隐私与 Shields 30019 九月Reads the newest web compression, reuses secure connections, and remembers where sites livev0.1.300 · 记忆与阅读 29919 九月Pages start loading sooner: smarter connections and a faster path onto slow networksv0.1.299 · 网络 29516 九月Class-based JavaScript runs dramatically faster: calling a method through a list of objects is now many times quickerv0.1.295 · JavaScript 与 JIT 29416 九月Integer, bitwise and pixel-processing JavaScript runs a lot faster, and the browser still proves every shortcut before it trusts itv0.1.294 · JavaScript 与 JIT 29316 九月Class-based and object-heavy JavaScript runs dramatically faster, with speed the browser proves before it trustsv0.1.293 · JavaScript 与 JIT 29216 九月Recursive JavaScript runs dramatically faster, so the heaviest in-page computation feels quickv0.1.292 · JavaScript 与 JIT 27811 九月A tracker can no longer follow you from one site to the nextv0.1.278 · 渲染 27610 九月Security you can check: an honest ledger, a referrer firewall, and mixed content shut downv0.1.276 · 隐私与 Shields 2122 九月Pages you render with Floati's own engine appear right away nowv0.1.212 · 渲染

八月2026 · 14 个版本

七月2026 · 4 个版本