Tüm sürümler v0.1.36419 Eki 2026Görüntü oluşturma, JavaScript ve JIT, Bellek ve okuma Akış

Sürüm notları İngilizce yazılmıştır.

Compiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machines

Floati compiles a function to machine code once it has run often enough to pay for the compile. On a large page that is thousands of functions, and past a point their machine code no longer fits the processor's instruction caches: every call then waits on memory, and compiled code ran slower than not compiling at all (1.7 times slower for 2,000 functions run 400 times). Floati now keeps a code-size budget. It estimates how much other code runs between two calls of a function (its reuse distance), and compiles it only while the code would still be in the cache when it comes back. Hot loops and their helpers still compile; code that runs once per pass stays in the fast interpreter. On an ARM64 Mac, 2,000 functions run 400 times went from 3,609 to 2,020 ms in a page, and 1,000 functions from 1,180 to 790 ms, with less memory. With the budget in place, Gust, Floati's fast compiler, is on by default on x86-64 too: on a Windows machine, a set of 50 hot functions went from 2,385 to 676 ms and 200 from 10,082 to 5,086 ms, and large sets are no slower than before. Its x86-64 code is also 40 percent smaller.

3,609 -> 2,020 ms2,000 functions x 400 runs
2,385 -> 676 ms50 hot functions, x86-64
Öne çıkanlar2

A code-size budget

Page-shaped code in a page on an ARM64 Mac: before, after and the reference engine
Page-shaped code in a page on an ARM64 Mac: before, after and the reference engine

A processor runs machine code fastest when it is already in its instruction cache, a few megabytes at most. A compiler that compiles every warm function fills that space on a big page, and the code it made evicts itself: each call reads from memory again. We measured it on generated pages of many small functions run in a shuffled order. With 200 functions compiling won 4 times over; with 2,000 it lost 1.7 times. The budget borrows from how caches themselves are modelled: a piece of code stays cached if the code that runs between two of its uses fits in the cache (its reuse distance). Floati measures that distance for every function as it runs, keeps a running count of compiled bytes, and compiles a function only while it and the code around it fit, about 4 MB on Apple silicon and 2 MB on x86-64, where the caches are smaller. Code that stops being used gives its bytes back. Other engines bound their compiled code too, mostly by flushing code once it has gone cold; Floati decides before compiling, from the reuse it measured.

2,000 functions x 400 runs3,609 -> 2,020 msCompiled code on that pageabout 4 MB, was over 36 MB

Fast compiled code on Windows and Intel machines

Gust off and on, with the code-size budget, on an x86-64 Windows machine
Gust off and on, with the code-size budget, on an x86-64 Windows machine

Gust compiles a warm function in under a microsecond per operation. On x86-64 it was off by default because its code was twice the size of the ARM64 code and big pages ran slower with it. The code is now 40 percent smaller (registers held in real x86 registers, short branches, constants shared from a pool, slow paths moved out of line) and the budget keeps it inside the cache, so it is on by default on Windows and Intel machines. Compiled frames on Windows are registered with the system's unwinder, so crash reports and debuggers can walk through them.

50 hot functions, x86-642,385 -> 676 msRelease checks against the reference browser6 of 6 the same

Neler değişti

5 değişiklik
  1. JavaScript ve JITA code-size budget: functions are compiled only while their code still fits the processor's caches.
  2. Görüntü oluşturmaBig pages: 2,000 functions run 400 times 3,609 -> 2,020 ms, 1,000 functions 1,180 -> 790 ms (ARM64 Mac, in a page).
  3. Bellek ve okumaLess memory on big pages: compiled code capped at about 4 MB instead of growing past 90 MB.
  4. JavaScript ve JITGust, the fast compiler, is on by default on x86-64: 50 hot functions 2,385 -> 676 ms on a Windows machine.
  5. JavaScript ve JITx86-64 compiled code is 40 percent smaller.

Tarayıcınızda deneyin

Her denetim, okuduğunuz tarayıcıda canlı çalışır. Hiçbir yere bir şey gönderilmez.

Kontrol etTarayıcınızFloati
two thousand distinct functions, each called hot, all answer rightDenetleniyorEvet
a hot set of functions changes halfway and both halves stay correctDenetleniyorEvet
a hot helper with try / catch and for...of returns the same as when coldDenetleniyorEvet
string building through hot helpers keeps every characterDenetleniyorEvet
integer arithmetic in a hot loop wraps exactly at 32 bitsDenetleniyorEvet
a method replaced while hot is the one called afterwardsDenetleniyorEvet
Geçti 6 / 6
v0.1.364 sürümünden bu yana her şey tek yerde

Sürümler

v0.1.0 - 0.1.9 · 10 Tem 2026418v0.1.427 · 25 Kas 2026

Ekim2026 · 33 sürüm

37121 EkiDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · Web API’leri ve DOM · deneyin 37021 EkiOpen your files, share to your phone, have pages read aloud, install sites as apps, play with a controller, and accented text drawn rightv0.1.370 · Gizlilik ve Shields · deneyin11 36920 EkiPasskeys with Touch ID and Windows Hello, sites that work offline, notifications you allow, and devices asked for first, all kept on your devicev0.1.369 · Gizlilik ve Shields · deneyin9 36820 EkiA site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from scriptv0.1.368 · Gizlilik ve Shields · deneyin 36720 EkiEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · Web API’leri ve DOM · deneyin10 36619 EkiEvents, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · Web API’leri ve DOM · deneyin9 36519 EkiThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript ve JIT · deneyin 36419 EkiCompiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machinesv0.1.364 · JavaScript ve JIT · deneyin 36319 EkiThermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linearv0.1.363 · JavaScript ve JIT · deneyin12 36219 EkiA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Görüntü oluşturma · deneyin 36118 EkiThermal runs on Windows and Intel machines, a register fix for compiled code on Windows, try / catch compiles, and reading a growing string is 200 times fasterv0.1.361 · JavaScript ve JIT · deneyin 36018 EkiEvery byte of machine code is Floati's own, a news site that showed blank renders, Gust's code is half the size, and closures and ?? compilev0.1.360 · JavaScript ve JIT · deneyin9 35916 EkiThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript ve JIT · deneyin 35816 EkiThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript ve JIT · deneyin 35715 EkiLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript ve JIT · deneyin14 35614 EkiRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript ve JIT · deneyin 35514 EkiA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript ve JIT · deneyin 35413 EkiFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript ve JIT · deneyin 35311 EkiStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · Görüntü oluşturma · deneyin 35211 EkiCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Görüntü oluşturma · deneyin10 35111 EkiStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript ve JIT · deneyin12 35010 EkiHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript ve JIT · deneyin14 34910 EkiScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Görüntü oluşturma · deneyin13 3489 EkiScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Görüntü oluşturma · deneyin14 3478 EkiCards inside links, small print at its real size, and errors you can followv0.1.347 · Görüntü oluşturma · deneyin17 3467 EkiA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Görüntü oluşturma · deneyin14 3457 EkiReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Görüntü oluşturma · deneyin10 3436 EkiSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Gizlilik ve Shields · deneyin25 3425 EkiTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · Web API’leri ve DOM · deneyin 3415 EkiCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Görüntü oluşturma · deneyin 3405 EkiScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Görüntü oluşturma · deneyin10 3395 EkiEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · Web API’leri ve DOM · deneyin12 3385 EkiPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · Web API’leri ve DOM · deneyin19