所有版本 v0.1.41711 十一月 2026渲染, JavaScript 与 JIT, Web API 与 DOM, 记忆与阅读 订阅

版本说明以英文撰写。

Pages wait less for their own scripts and styles

A speed and correctness release for the engine. A script that loads a module with import() no longer stops the page while the module downloads, a class change restyles only what a :has() rule can actually see, and loops with try/catch, class constructors and Object.keys run several times faster. On three real pages, script, style and layout time fell by 16% overall against 0.1.416, and no page got slower.

1.31 -> 1.11 sA developer-docs page, style time
3.36 -> 2.18 sA code-hosting page, layout time
143 -> 2 ms (a leading JavaScript runtime: 2.2)try/catch hot loop, 1e6
亮点3

No more waiting inside a script

When a page loaded a module with import(), the engine thread waited for the download before it went on, so timers and other scripts stood still. The download now finishes in the background and the import resolves from the event loop, as in the reference browser. A test fails if the engine thread ever waits for a module again.

A developer-docs page, style time1.31 -> 1.11 sThree real pages together10.9 -> 9.1 s, none slower

Restyle only what can change

A stylesheet with a :has() rule made every class toggle restyle and lay out the whole page, because the engine could not tell which :has() rules the change could flip. It now knows which attributes, class names and tags each rule reads, and skips the rules a change cannot reach. Text changes restyle their own element, not the page.

A code-hosting page, layout time3.36 -> 2.18 s

Faster loops, classes and lookups

Loops with try/catch, derived class constructors, Object.keys over an object and calls across many closures of one function all run on faster paths.

try/catch hot loop, 1e6143 -> 2 ms (a leading JavaScript runtime: 2.2)Object.keys/entries, 20 keys14.2 -> 7.5 ms (7.2)class super + getter230 -> about 75 ms

改动内容

13 项改动
  1. JavaScript 与 JITSpeed: a dynamic import() loads its module in the background and settles from the event loop; the engine thread no longer waits for the download. Switch: FLOATI_NO_ASYNC_DYN_IMPORT.
  2. JavaScript 与 JITSpeed: a try/catch inside a hot loop no longer nests deeper at every throw, and a function whose try keeps catching moves to the faster loop path. try/catch loop: 143 -> 2 ms. Switches: FLOATI_NO_OSR_CATCH_LOOP, FLOATI_NO_PLAN_CATCH_RETIRE.
  3. 渲染Speed: a class, attribute or child change skips every :has() rule it cannot flip, so it restyles only the part of the page it touched. Switches: FLOATI_NO_HAS_ATTR_HINT, FLOATI_NO_HAS_MIXED_HINT, FLOATI_NO_HAS_COMPOUND_MATCH.
  4. 渲染Speed: a text change restyles its own element instead of the whole page. Switch: FLOATI_NO_TEXT_AS_CHILDLIST.
  5. Web API 与 DOMSpeed: selector parses, class keys, @property scans, the page's style text for getComputedStyle and a module's import scan are each made once instead of at every use. Switches: FLOATI_NO_DOC_STYLES_MEMO, FLOATI_NO_STATIC_DEPS_MEMO.
  6. 记忆与阅读Speed: a loop over getElementsByClassName or getElementsByTagName reads a remembered answer while the page is unchanged, instead of searching the page at every index. Switch: FLOATI_NO_COLLECTION_MEMO.
  7. JavaScript 与 JITSpeed: class constructors run compiled, super(...) goes straight to the parent, and a new instance gets room for its fields up front; a derived new is about 3.5 times faster. Switches: FLOATI_NO_PLAN_CLASS_CTOR, FLOATI_NO_FAST_SUPER, FLOATI_NO_FINAL_SHAPE, FLOATI_NO_ADD_IC.
  8. JavaScript 与 JITSpeed: a function whose inner loop is compiled but whose outer loop is not moves to its faster compiled path (Object.keys then a loop over the keys: 14.2 -> 7.5 ms). Switch: FLOATI_NO_LOOP_AHEAD_OUTER.
  9. JavaScript 与 JITSpeed: a call site that calls many closures of one function reuses its checks for all of them. Switch: FLOATI_NO_TEMPLATE_CALL_HIT.
  10. JavaScript 与 JITSpeed: the interpreter frees numbers and other simple values without a function call, 15 to 30% faster with the compiler off.
  11. 渲染Fix: querySelectorAll and getElementsByClassName see a class written between two queries; they could answer with the old class list.
  12. 渲染Fix: removing an element counts everything inside it for :has() rules, so a rule like ul:has(li) updates when a box holding the li is removed.
  13. 渲染Fix: class C extends a value that is not a constructor (a number, an arrow function, a plain object) throws a TypeError where the class is defined, as in the reference browser. Switch: FLOATI_NO_HERITAGE_CHECK.
v0.1.417 之后的所有内容,集中在一处

版本

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 个版本