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

十月2026 · 7 个版本

九月2026 · 10 个版本

八月2026 · 26 个版本

18218 八月Now it also spots the audio version of that tracking trickv0.1.182 · 隐私与 Shields 17918 八月Longer videos now play all the way throughv0.1.179 · 媒体 17518 八月The browser you install now plays video, built entirely from its own codev0.1.175 · 媒体 17218 八月Split-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · 媒体 17116 八月The engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · 媒体 16916 八月Decoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · 媒体 16816 八月The engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · 媒体 16715 八月More real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · 媒体 16615 八月WebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · 媒体 16115 八月GPU 3D transforms: every container renders on the devicev0.1.161 · 渲染 16015 八月GPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web API 与 DOM 13113 八月Brotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · 渲染 12913 八月VP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · 媒体 12513 八月fMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · 媒体 1117 八月Web Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · 媒体 1107 八月Web Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · 媒体 1097 八月Web Audio convolution reverb + stereo sample playbackv0.1.109 · 媒体 1087 八月Stereo Web Audio: real panning and per-channel routingv0.1.108 · 媒体 1057 八月HTTP/2: the modern web transport, from scratchv0.1.105 · 媒体 1027 八月Modern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript 与 JIT 976 八月Real captionsv0.1.97 · 渲染 966 八月Stateful audio DSP: filters, delay and waveshapingv0.1.96 · 媒体 956 八月Real, deterministic Web Audio (it used to be a silent stub)v0.1.95 · 媒体 866 八月Real cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · 渲染 815 八月Building an object stopped re-allocating its keysv0.1.81 · JavaScript 与 JIT 661 八月The worst score on the board turned out to be a cookie bannerv0.1.66 · 渲染9

七月2026 · 10 个版本