Dukkan sigogi v0.1.36419 Oct 2026Zane shafi, JavaScript da JIT, Ƙwaƙwalwa da karatu Feed

An rubuta bayanan sabuntawa da Turanci.

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
Muhimman abubuwa2

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

Abin da ya canza

canje-canje 5
  1. JavaScript da JITA code-size budget: functions are compiled only while their code still fits the processor's caches.
  2. Zane shafiBig 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. Ƙwaƙwalwa da karatuLess memory on big pages: compiled code capped at about 4 MB instead of growing past 90 MB.
  4. JavaScript da JITGust, the fast compiler, is on by default on x86-64: 50 hot functions 2,385 -> 676 ms on a Windows machine.
  5. JavaScript da JITx86-64 compiled code is 40 percent smaller.

Gwada a burauzarka

Kowane gwaji yana gudana kai tsaye a burauzar da kake karantawa. Ba a aika komai ko’ina ba.

DubaBurauzarkaFloati
two thousand distinct functions, each called hot, all answer rightAna dubawaEe
a hot set of functions changes halfway and both halves stay correctAna dubawaEe
a hot helper with try / catch and for...of returns the same as when coldAna dubawaEe
string building through hot helpers keeps every characterAna dubawaEe
integer arithmetic in a hot loop wraps exactly at 32 bitsAna dubawaEe
a method replaced while hot is the one called afterwardsAna dubawaEe
Sun wuce 6 / 6
Duk tun v0.1.364 a wuri ɗaya

Sigogi

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

October2026 · sigogi 33

37121 OctDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · APIs na yanar gizo da DOM · gwada 37021 OctOpen 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 · Sirri da Shields · gwada11 36920 OctPasskeys 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 · Sirri da Shields · gwada9 36820 OctA 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 · Sirri da Shields · gwada 36720 OctEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · APIs na yanar gizo da DOM · gwada10 36619 OctEvents, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · APIs na yanar gizo da DOM · gwada9 36519 OctThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript da JIT · gwada 36419 OctCompiled 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 da JIT · gwada 36319 OctThermal 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 da JIT · gwada12 36219 OctA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Zane shafi · gwada 36118 OctThermal 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 da JIT · gwada 36018 OctEvery 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 da JIT · gwada9 35916 OctThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript da JIT · gwada 35816 OctThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript da JIT · gwada 35715 OctLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript da JIT · gwada14 35614 OctRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript da JIT · gwada 35514 OctA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript da JIT · gwada 35413 OctFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript da JIT · gwada 35311 OctStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · Zane shafi · gwada 35211 OctCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Zane shafi · gwada10 35111 OctStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript da JIT · gwada12 35010 OctHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript da JIT · gwada14 34910 OctScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Zane shafi · gwada13 3489 OctScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Zane shafi · gwada14 3478 OctCards inside links, small print at its real size, and errors you can followv0.1.347 · Zane shafi · gwada17 3467 OctA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Zane shafi · gwada14 3457 OctReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Zane shafi · gwada10 3436 OctSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Sirri da Shields · gwada25 3425 OctTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · APIs na yanar gizo da DOM · gwada 3415 OctCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Zane shafi · gwada 3405 OctScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Zane shafi · gwada10 3395 OctEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · APIs na yanar gizo da DOM · gwada12 3385 OctPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · APIs na yanar gizo da DOM · gwada19