Все версии v0.1.34910 Окт 2026Отрисовка, JavaScript и JIT, Веб-API и DOM Лента

Примечания к выпускам написаны на английском.

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
Главное6

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

ДоПосле
До: twelve color-mix() swatches across colour spaces and hue directions
До
После: twelve color-mix() swatches across colour spaces and hue directions
После · v0.1.349
Та же страница в эталонном браузере
Эталонный браузер

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

ДоПосле
До: a photo caption on a news site's carousel
До
После: a photo caption on a news site's carousel
После · v0.1.349
Та же страница в эталонном браузере
Эталонный браузер

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

Что изменилось

13 изменений
  1. JavaScript и 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 и 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 и 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. ОтрисовкаSlicing a long string shares its text instead of copying it, and appending keeps a rope, so tokenizers and string builders are linear.
  5. ОтрисовкаA 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. ОтрисовкаThree repeated scans in the script runtime were removed: a news page's script time falls from 5.9 to 3.2 seconds.
  7. Веб-API и 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. ОтрисовкаA 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. Веб-API и 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. Веб-API и 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. Веб-API и 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. ОтрисовкаMath.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. Отрисовкаin with a primitive on the right throws a TypeError, and object spreads copy their source at their position, as the standard says.

Проверьте в своём браузере

Каждая проверка выполняется прямо в браузере, в котором вы читаете. Ничего никуда не отправляется.

ПроверкаВаш браузерFloati
Math.max(0, -0) is +0 and Math.min(0, -0) is -0ПроверяемДа
color-mix() computes to the colour it mixesПроверяемДа
in with a string on the right throws a TypeErrorПроверяемДа
An object spread copies the object where it standsПроверяемДа
A long string sliced many times keeps its textПроверяемДа
Пройдено 5 / 5
Всё после v0.1.349 в одном месте

Версии

v0.1.0 - 0.1.9 · 10 Июл 2026418v0.1.427 · 25 Ноя 2026

Ноябрь2026 · 1 версия

Октябрь2026 · 7 версий

Сентябрь2026 · 3 версии

Август2026 · 18 версий

14614 АвгWebAssembly modules can call JavaScriptv0.1.146 · Отрисовка 14414 АвгExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript и JIT 13514 АвгDevTools automation: the methods a real driver reaches forv0.1.135 · Веб-API и DOM 12413 АвгPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Отрисовка 12213 АвгTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 АвгTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Вкладки и интерфейс 12013 АвгDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 АвгDevTools: a Sources panel with a clickable line gutterv0.1.119 · Вкладки и интерфейс 11811 АвгDevTools debugger: step over, into and outv0.1.118 · JavaScript и JIT 1177 АвгDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 АвгDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 АвгDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 АвгDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 АвгVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Вкладки и интерфейс 1127 АвгDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 АвгThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 АвгThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 АвгOne press, and you are on the new versionv0.1.70 · Вкладки и интерфейс

Июль2026 · 3 версии