Alle Versionen v0.1.36519 Okt 2026JavaScript und JIT, Gedächtnis und Lesen, Tabs und Oberfläche Feed

Die Versionshinweise sind auf Englisch geschrieben.

The code-size budget fits your processor, and code that has gone cold makes room for code that is hot now

Floati's code-size budget, new in the last release, used a fixed size for each kind of processor. It now reads your processor's cache sizes when it starts and sizes itself to them (the last-level cache shared by its cores), so a laptop with a small cache and a desktop with a large one each get their own budget. On the two machines we test on it chose exactly the sizes we had measured best by hand. Compiled code that has gone cold is now freed when the budget is full and warmer code needs the room, the way a long-lived web app moves from one screen to the next. A page whose hot set of functions changes in phases ran 514 -> 459 ms and 883 -> 801 ms, with half the compiled code kept in memory. A self-adjusting budget that grows and shrinks from measured time was tried as well and is not included: the timings it would steer by vary more than the gain it could find.

514 -> 459 msFour phases of 300 functions
Highlights1

A budget that fits the machine, and keeps what is hot

A page whose hot code changes in phases: before, after and the reference engine
A page whose hot code changes in phases: before, after and the reference engine

The budget compiles a function only while its machine code would still be in the processor's cache when the function runs again. The right size depends on the cache, and caches differ: an Apple M-series performance cluster shares 16 MB between four cores, a laptop x86-64 chip often 8 MB. Floati reads the cache hierarchy from the operating system at startup (on macOS, Windows and Linux) and uses each core's share of the last-level cache, kept between 1 and 8 MB. When the budget is full, a function that keeps running can now claim the space of code that has not run for a long time, measured against how often the newcomer runs. Freed code is removed safely: a call already running it finishes first, and every compiled call that pointed at it is redirected. A function that comes back is compiled again, and two groups of functions cannot keep evicting each other back and forth. The design follows the published work on sizing code caches to a program's working set, and on how other engines flush cold compiled code.

Four phases of 300 functions514 -> 459 msRelease checks against the reference browser3 of 3 the same

Was sich geändert hat

3 Änderungen
  1. Tabs und OberflächeThe code-size budget is sized from your processor's caches at startup (macOS, Windows, Linux).
  2. JavaScript und JITCompiled code that has gone cold is freed for code that is hot now: a page with changing hot code 514 -> 459 ms.
  3. Gedächtnis und LesenHalf as much compiled code kept in memory on such pages.

Im eigenen Browser testen

Jeder Test läuft live in dem Browser, mit dem du gerade liest. Es wird nichts gesendet.

PrüfenDein BrowserFloati
four phases of 300 functions each, every answer right in every phaseWird geprüftJa
a function hot, then idle, then hot again answers the sameWird geprüftJa
a long-running call keeps working while other code takes over the cacheWird geprüftJa
Bestanden 3 / 3
Alles seit v0.1.365 an einem Ort

Versionen

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

November2026 · 4 Versionen

Oktober2026 · 7 Versionen

September2026 · 10 Versionen

August2026 · 26 Versionen

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

Juli2026 · 10 Versionen