Tüm sürümler v0.1.34910 Eki 2026Görüntü oluşturma, JavaScript ve JIT, Web API’leri ve DOM Akış

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

Scripts that grow in step with their work, layouts laid out once, and colours mixed like the reference

Pages run their scripts faster: arrow functions and type checks now run in compiled code, slicing a long string no longer copies it, and script patterns whose cost grew much faster than their input now grow in step with it, so a news page spends almost half as long in its scripts. A box a page lays out again with the same inputs keeps its layout instead of being laid out from scratch, web fonts and script modules load at once instead of one after another, color-mix() colours match the reference browser digit for digit, and a photo caption that lost all but its last word reads in full again.

5.9 -> 3.2 sScript time on a news page
18 msreduce with a spread over 20,000 items
4% lessScript time on real pages
Öne çıkanlar6

Scripts that grow in step with their work

A sweep timed about sixty everyday script patterns at one size and at four times that size: a pattern that takes sixteen times as long has a hidden quadratic step. It found eleven. Building a string a piece at a time, reading .length in a loop, cutting tokens off the front of a long string, running a global regular expression over a page, adding thousands of keys to an object and clearing many timers all slowed down with the square of their size; nine are now linear, and the sweep runs on every change so new ones cannot creep back in.

Script time on a news page5.9 -> 3.2 sA tokenizer cutting 40,000 tokens437 -> 35 ms60,000 string appends500 -> 5 msA loop reading .length7.8 s -> 24 ms

Copies a program can never see are not made

Modern code updates state by building a new object from the old one: reduce((acc, x) => ({...acc, [x.id]: x}), {}) copies the whole accumulator on every step, so twenty thousand items mean two hundred million copied properties. When the engine can prove that nothing else holds the old object, it now updates it in place, which is indistinguishable to the program and turns a quadratic loop into a linear one. Object spreads also copy their source at the point where they stand, as the standard says.

reduce with a spread over 20,000 items18 msThe same loop in the reference engine49 s

Boxes laid out once

A grid lays each item out to measure it and again to place it, and a grid inside a grid multiplies that, so on a documentation page some boxes were laid out 38 times per pass. When a box is laid out again at the same place with exactly the same inputs, it now keeps the layout it already has. A check mode lays every reused box out for real as well and compares the whole subtree; it found no difference on any test page or test suite.

Script time on real pages4% lessA style framework's site14% fasterLayout calls on a documentation page25% fewer

Arrow functions and type checks in compiled code

Arrow functions are most of the callbacks and small helpers in modern code, and every one of them ran in the slowest tier, however often it was called. A hot arrow function now runs in compiled code like any other function when it does not reach for this or arguments. typeof checks written either way round, and key in object tests, now stay in compiled code as well.

map and forEach with an arrow236 -> 142 msA typeof and in check loop828 -> 361 ms

color-mix() mixes like the reference browser

ÖnceSonra
Önce: twelve color-mix() swatches across colour spaces and hue directions
Önce
Sonra: twelve color-mix() swatches across colour spaces and hue directions
Sonra · v0.1.349
Referans tarayıcıda aynı sayfa
Referans tarayıcı

color-mix() mixes two colours in a colour space the page names. Mixes in hsl and hwb, and the hue directions (shorter, longer, increasing, decreasing), were painted as a plain mix of red, green and blue: red and blue in hsl gave purple instead of magenta. Every space and hue direction is now mixed and painted the way the reference browser does, and getComputedStyle reports the mixed colour in the syntax the reference reports, digit for digit.

twelve color-mix() swatches across colour spaces and hue directions

A caption that keeps all its words

ÖnceSonra
Önce: a photo caption on a news site's carousel
Önce
Sonra: a photo caption on a news site's carousel
Sonra · v0.1.349
Referans tarayıcıda aynı sayfa
Referans tarayıcı

A box laid out a second time chose between laying its content out as lines of text or as blocks by looking at what its first layout had produced, not at its real content. On a news site's photo carousel that sent the caption down the wrong path on its second layout, and only its last word survived, underlined across the whole photo. The choice now always looks at the content itself.

a photo caption on a news site's carousel

Neler değişti

13 değişiklik
  1. JavaScript ve JITHot arrow functions run in compiled code when their body does not use this, arguments or new.target; map and forEach callbacks run about 40% faster.
  2. JavaScript ve JITtypeof checks written with the string first, loose typeof comparisons and key in object tests stay in compiled code; a typeof and in check loop runs 2.3x faster.
  3. JavaScript ve JITObject and array spreads that update an accumulator (reduce with {...acc}, [...list, x]) update it in place when nothing else can see the old one; 20,000 items take 18 ms where the reference engine takes 49 s.
  4. Görüntü oluşturmaSlicing a long string shares its text instead of copying it, and appending keeps a rope, so tokenizers and string builders are linear.
  5. Görüntü oluşturmaA scaling sweep of about sixty script patterns runs on every change; nine quadratic paths it found in strings, objects, regular expressions and timers are now linear.
  6. Görüntü oluşturmaThree repeated scans in the script runtime were removed: a news page's script time falls from 5.9 to 3.2 seconds.
  7. Web API’leri ve DOMA box laid out again in the same pass, at the same place and with the same inputs, keeps its layout; real pages spend 4% less time in script and layout, a style framework's site 14%.
  8. Görüntü oluşturmaA box laid out a second time decides between line and block layout from its real content, so a carousel caption keeps all its words and visually hidden headings keep their text size.
  9. Web API’leri ve DOMA page's web fonts are fetched at once instead of one after another (six fonts from a far server: 14.2 s -> 2 to 5 s).
  10. Web API’leri ve DOMimport() fetches a module graph a level at a time, every module of a level at once (a six-module graph 2.3 -> 0.7 s at 300 ms per module).
  11. Web API’leri ve DOMcolor-mix() mixes and paints in every colour space and hue direction as the reference browser does, and getComputedStyle reports the mixed colour in the reference's syntax.
  12. Görüntü oluşturmaMath.max and Math.min give +0 and -0 as the standard says on every processor; x86 machines answered -0 for Math.max(0, -0).
  13. Görüntü oluşturmain with a primitive on the right throws a TypeError, and object spreads copy their source at their position, as the standard says.

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
Math.max(0, -0) is +0 and Math.min(0, -0) is -0DenetleniyorEvet
color-mix() computes to the colour it mixesDenetleniyorEvet
in with a string on the right throws a TypeErrorDenetleniyorEvet
An object spread copies the object where it standsDenetleniyorEvet
A long string sliced many times keeps its textDenetleniyorEvet
Geçti 5 / 5
v0.1.349 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 · 40 sürüm

42725 KasLayouts that remember their workEn yeni · v0.1.427 · Görüntü oluşturma9 42625 KasCompiled with what real pages runv0.1.426 · JavaScript ve JIT 42525 KasBuilt with whole-program optimizationv0.1.425 · Görüntü oluşturma 42425 KasMore layout reused after a script changes the pagev0.1.424 · Görüntü oluşturma 42324 KasThe optimizing compiler works off the main threadv0.1.423 · Görüntü oluşturma 42222 KasText-reading loops and element-tree builders run fasterv0.1.422 · JavaScript ve JIT14 42122 KasCalls from loops run inside the loop's own machine codev0.1.421 · JavaScript ve JIT9 42021 KasPages you come back to run their scripts soonerv0.1.420 · Görüntü oluşturma17 41918 KasA faster interpreter runs the page's codev0.1.419 · JavaScript ve JIT12 41815 KasScripts run faster on busy pagesv0.1.418 · JavaScript ve JIT34 41711 KasPages wait less for their own scripts and stylesv0.1.417 · JavaScript ve JIT13 41611 KasWebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript ve JIT 41510 KasWebGPU loops count right on Macsv0.1.415 · JavaScript ve JIT 41410 KasWebGPU runs in its own graphics processv0.1.414 · Görüntü oluşturma 41310 KasA graphics card reset no longer takes the browser downv0.1.413 · Görüntü oluşturma 4129 KasVideo moves to the graphics cardv0.1.412 · Medya 4119 KasNo canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · Görüntü oluşturma 4109 KasCanvas drawing moves to the graphics cardv0.1.410 · Görüntü oluşturma27 4098 KasEvery tile on the GPUv0.1.409 · Görüntü oluşturma26 4088 Kas3D at 120 frames a secondv0.1.408 · Görüntü oluşturma23 4077 KasWebGL 2v0.1.407 · Görüntü oluşturma36 4066 KasA stuck tab stops at oncev0.1.406 · Görüntü oluşturma16 4055 KasSmall WebGL drawings get smooth edgesv0.1.405 · Görüntü oluşturma 4045 KasWebGL pages finally movev0.1.404 · Görüntü oluşturma25 4035 KasWebGPU is herev0.1.403 · Görüntü oluşturma35 4024 KasA canvas that moves itself to the GPUv0.1.402 · Görüntü oluşturma 4014 Kas99% of real pages decided by the GPUv0.1.401 · Görüntü oluşturma9 4004 KasSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Görüntü oluşturma15 3994 KasAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Görüntü oluşturma22 3984 KasGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Görüntü oluşturma14 3973 KasTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Görüntü oluşturma 3963 KasAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Görüntü oluşturma 3953 KasCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Görüntü oluşturma12 3943 KasBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Görüntü oluşturma 3932 KasStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Görüntü oluşturma 3922 KasIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Sekmeler ve arayüz 3911 KasEmoji in colour, sized as in the reference browserv0.1.391 · JavaScript ve JIT 3901 KasA classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript ve JIT12 3891 KasA computer maker's home page: navigation labels back, buttons apartv0.1.389 · Görüntü oluşturma 3881 KasA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Görüntü oluşturma18

Ekim2026 · 58 sürüm

57 tane daha göster
Eylül2026124 sürüm Ağustos2026140 sürüm Temmuz202656 sürüm