Tüm sürümler v0.1.35614 Eki 2026JavaScript ve JIT, Bellek ve okuma, Sekmeler ve arayüz Akış

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

Recursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searching

This release makes three kinds of everyday JavaScript faster. Recursive functions now answer their simplest cases where they are called and run every other level inside their parent, so walking a tree makes a fraction of the calls, and recursion whose last step returns a property now compiles at all. Long loops that walk a list, keep the best object seen so far, copy objects, compare them or ask typeof now run in Floati's fastest loop tier, 20 to 40 times faster than before. Setting a property on page elements no longer searches every element prototype each time, so building elements is almost three times faster, and a getter a page puts on an element prototype now answers reads as it does in the reference browser. One crash is fixed: freeing a long linked list made inside a function no longer overflows the stack.

272 -> 24 msThe depth of a tree, ten walks
241 -> 12.4 ms (reference engine 5.9)Walking a ring of objects, 5 million steps
10 -> 3.5 msBuilding 3,000 elements, twenty times
Öne çıkanlar3

Recursion makes a fraction of the calls

A tree sum before and after: 31 calls become 5
A tree sum before and after: 31 calls become 5

A recursive function usually starts with its simplest case: if the tree is empty, return 0; if n is below 2, return n. Floati's recursion tier now runs that test where the call is made, so a call that would only answer the simple case is never made, and it copies one level of the function into its parent, so every other level of a tree runs without a call at all (a technique from research on divide-and-conquer programs). Each copy still counts toward the call-depth limit and the work budget exactly as a call would, so a runaway recursion stops where it did. Once a recursive function has run, its property reads are compiled again with the object layouts they saw built in. Recursion whose last step returns a property, like the depth of a tree that returns a leaf's value, used to fall back to slower code because one path returned a number and the other a value of any type; now the two paths meet as a number, and anything else hands the work back to the interpreter.

The depth of a tree, ten walks272 -> 24 msA count whose base case returns a property80 -> 4.7 ms

Loops keep objects in registers

A list walk before and after: refused by the fastest loop tier, then run there with the object in a register
A list walk before and after: refused by the fastest loop tier, then run there with the object in a register
Before, after and the reference engine for four measurements
Before, after and the reference engine for four measurements

Floati's fastest loop tier kept numbers in registers, and objects only when the loop never changed which object a variable held. A loop like for (n = head; n !== null; n = n.next), or one that remembers the largest object seen so far, was refused and ran in a slower tier. Now such a variable holds the object directly, with no counting or copying, because these loops write nothing but their own variables: nothing they point at can be freed while they run. They can read properties, compare with null and with each other, copy, ask typeof and test truthiness; anything unusual, a getter, a missing link or a string compared by identity, hands that iteration back to the interpreter, which finishes it exactly. These are long loops the fastest tier now takes; a function that is already hot ran them in another tier and is unchanged.

Walking a ring of objects, 5 million steps241 -> 12.4 ms (reference engine 5.9)typeof of an object, 1 million checks41.6 -> 3 ms (reference engine 5.6)

Element writes stop searching

An element property write before and after: from a search of four prototypes to a remembered answer
An element property write before and after: from a search of four prototypes to a remembered answer

Every el.className = v or el.textContent = v checked whether a page script had defined that property as an accessor on one of the element's prototypes: it built two names and searched four prototypes, every time, to learn that nothing was there. On a page that builds elements this was most of its script time. Floati now remembers the answer per element type until a page changes a prototype, which makes element-building three times faster. Reads use the same memory, which fixed a gap: a getter a page defines on an element prototype, as some monitoring and compatibility scripts do, now answers reads of that property as it does in the reference browser; before, Floati answered from its own value.

Building 3,000 elements, twenty times10 -> 3.5 msA getter on an element prototypenow answers reads

Neler değişti

8 değişiklik
  1. JavaScript ve JITRecursive functions answer their simple case where they are called and run alternate levels inside their parent: a tree walk makes a fraction of the calls.
  2. JavaScript ve JITRecursion whose last step returns a property (a tree's depth, a count) now compiles: a tree depth 272 -> 24 ms.
  3. JavaScript ve JITOnce a recursive function has run, its property reads are compiled again with the layouts they saw built in.
  4. JavaScript ve JITLong loops that walk a list, keep the best object so far, copy or compare objects, or ask typeof run in the fastest loop tier: a 5 million step walk 241 -> 12.4 ms.
  5. Bellek ve okumaSetting properties on page elements remembers that no page accessor intercepts them: building elements is three times faster.
  6. JavaScript ve JITA getter a page defines on an element prototype now answers reads of that property, as in the reference browser.
  7. Bellek ve okumaFixed: freeing a long linked list built inside a function no longer overflows the stack and closes the page.
  8. Sekmeler ve arayüzFloati's pages and update notes now open at browser.floati.life.

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
A recursive base case that returns a property still adds upDenetleniyorEvet
An unrolled recursion keeps its arguments in orderDenetleniyorEvet
A setter added to an element prototype after many writes runsDenetleniyorEvet
A long walk around a ring of objects keeps its placeDenetleniyorEvet
The largest object found in a loop is that very objectDenetleniyorEvet
Equal strings compare equal in a hot loopDenetleniyorEvet
Typeof in a hot loop tells functions, arrays and null apartDenetleniyorEvet
A long list built in a function is freed when it returnsDenetleniyorEvet
Geçti 8 / 8
v0.1.356 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

Kasım2026 · 4 sürüm

Ekim2026 · 7 sürüm

Eylül2026 · 10 sürüm

Ağustos2026 · 26 sürüm

18218 AğuNow it also spots the audio version of that tracking trickv0.1.182 · Gizlilik ve Shields 17918 AğuLonger videos now play all the way throughv0.1.179 · Medya 17518 AğuThe browser you install now plays video, built entirely from its own codev0.1.175 · Medya 17218 AğuSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Medya 17116 AğuThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Medya 16916 AğuDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Medya 16816 AğuThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Medya 16715 AğuMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Medya 16615 AğuWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Medya 16115 AğuGPU 3D transforms: every container renders on the devicev0.1.161 · Görüntü oluşturma 16015 AğuGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web API’leri ve DOM 13113 AğuBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Görüntü oluşturma 12913 AğuVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Medya 12513 AğufMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Medya 1117 AğuWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Medya 1107 AğuWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Medya 1097 AğuWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Medya 1087 AğuStereo Web Audio: real panning and per-channel routingv0.1.108 · Medya 1057 AğuHTTP/2: the modern web transport, from scratchv0.1.105 · Medya 1027 AğuModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript ve JIT 976 AğuReal captionsv0.1.97 · Görüntü oluşturma 966 AğuStateful audio DSP: filters, delay and waveshapingv0.1.96 · Medya 956 AğuReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Medya 866 AğuReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Görüntü oluşturma 815 AğuBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript ve JIT 661 AğuThe worst score on the board turned out to be a cookie bannerv0.1.66 · Görüntü oluşturma9

Temmuz2026 · 10 sürüm