所有版本 v0.1.32127 九月 2026JavaScript 与 JIT, 记忆与阅读, 标签页与界面 订阅

版本说明以英文撰写。

Half the memory, and JavaScript measured at 80

Floati now manages its own memory, and it gives memory back. A browse across an encyclopedia, a code-hosting site, a news site and a framework's docs site peaks about 53 percent lower than before, and once the pages are closed the engine holds about 78 percent less. Pages that leave tangles of JavaScript objects behind no longer keep them forever, memory is returned when you switch away or your computer runs low, and DevTools can now show you, live, what every page is holding. JavaScript also got much faster: our measured score against the reference JavaScript runtime on 42 real-world workloads went from 50 to 80.

改动内容

14 项改动
  1. 记忆与阅读Floati has its own memory allocator. The allocator is the part of a program that hands out and takes back small pieces of memory; the one Floati used before kept freed memory for itself forever, so the browser only ever grew. The new one keeps each freed piece next to where it came from, notices when a whole region is empty, and hands it back to your computer. Blocks larger than 32 KB are managed the same way, and a growing buffer extends in place instead of copying itself. It is as fast as the old one on our 42 JavaScript workloads.
  2. 记忆与阅读Closed pages let go of their JavaScript. JavaScript objects often point at each other in circles (a component and the event handler that points back at it), and Floati counts references, which on its own never frees a circle. Floati now finds such circles when a page closes, and while a page is idle, and frees everything nothing else can reach. After a browse, what a large encyclopedia leaves behind went from 82 MB to 30 MB and a second news site from 40 MB to 6 MB.
  3. 记忆与阅读Memory goes back when you are not looking. Ten seconds after Floati goes to the background, and whenever your Mac or PC reports it is running low, Floati returns unused memory to the system instead of waiting to be asked.
  4. 记忆与阅读A memory witness is built in. Floati continuously samples where memory is allocated and which page asked for it, at no measurable cost, so it always knows what each page is holding. This is how we found most of this release's savings: one engine table alone was holding 425 MB.
  5. 标签页与界面DevTools shows memory per page. The Memory panel opens on a new Page memory view: what this page holds, what pages you already left are still holding, the code that allocated it, and a Free memory now button. Other browsers only estimate memory per process; this is per page and live.
  6. JavaScript 与 JITRegular expressions run about three times faster. Patterns are now compiled to a compact program instead of being walked as a tree, and common pieces such as a run of digits are matched in one tight loop. Case-insensitive matching now follows the standard exactly: [A-Z] with the i flag matches lowercase letters, accented capitals match their lowercase forms, and a group repeated in a loop starts each pass empty, as in the reference browser.
  7. JavaScript 与 JITObject.keys, Object.values and Object.entries are faster on ordinary objects: the list of keys is computed once per object shape and reused.
  8. JavaScript 与 JITJavaScript performance, measured, went from 50 to 80. The score compares Floati with a reference JavaScript runtime on 42 real-world workloads and is recomputed for every release; numeric code, sorting and generators now match or beat the reference JavaScript runtime, and the remaining gaps are in class-heavy and closure-heavy code.
  9. 记忆与阅读Methods found on prototypes are cached. Calling a method an object inherits (every class method, every built-in such as push or indexOf) used to search the prototype chain each time; each call site now remembers where it found the method and checks in one step that nothing changed. super calls and inherited getters are cached the same way.
  10. JavaScript 与 JITShort-lived objects cost nothing in hot loops. When a loop creates an object that never leaves it (new Point(x, y) used and thrown away), Floati's native compiler keeps its fields in registers and never allocates it, a technique known as escape analysis; on our benchmark this beats the reference JavaScript engine.
  11. JavaScript 与 JITSorting with a comparator runs as machine code, and comparators of the form a.key - b.key sort by the key directly: sorting numbers is about six times faster than the reference JavaScript runtime on our benchmark.
  12. JavaScript 与 JITLoops that use try/catch, for...of over arrays and generators, typeof checks and global variables now run in the native compiler instead of falling back to the interpreter; a loop over a generator runs as one fused loop.
  13. JavaScript 与 JITMap and Set are rebuilt as an ordered hash table (one array of entries in insertion order plus a compact index), about three times faster for lookups and inserts, and their methods no longer look themselves up on every call.
  14. JavaScript 与 JITTwo correctness fixes: for-in over an array or a string now lists its indexes (it listed nothing), and assigning to a const now throws a TypeError in every mode, as the standard requires (it was silently allowed).
v0.1.321 之后的所有内容,集中在一处

版本

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