Alle weergawes v0.1.35916 Okt 2026Vertoning, JavaScript en JIT, Oortjies en koppelvlak Voer

Die weergawenotas is in Engels geskryf.

Thermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard says

Thermal, the optimizing compiler Floati writes for itself, now compiles three kinds of code it used to refuse a whole function for: Math.imul, floor, ceil, sqrt, abs, min and max, each folded into one instruction; number members of an object a function is given (p.x), checked against the layout the page has been using; and a step after the loop it cannot compile, such as turning a hash into text with toString(36), which it now hands to the interpreter instead of giving up on the loop. A murmur3 hash runs 12 times faster than in 0.1.358 and a CSS-in-JS class-name hash 11 times faster, with less memory. Functions that build strings from template literals or 'text' + value, and functions that use new, now compile too. Four differences from the standard are fixed: methods and getters can no longer be called with new, class X extends Array makes real arrays, a global created by a plain assignment is a property of window, and an object in a template literal converts the way the standard says. Real pages measure the same as before, and Floati can now write x86-64 code for Intel and Windows machines behind a switch while that code is made smaller.

770 -> 62 ms (reference engine 7)A murmur3 hash with Math.imul
236 -> 179 msBuilding class names
8 of 8 the sameRelease checks against the reference browser
Hoogtepunte3

Three things Thermal no longer refuses a function for

Three things Thermal compiles now: folded Math methods, object member reads with a layout check, and a hand-over after the loop
Three things Thermal compiles now: folded Math methods, object member reads with a layout check, and a hand-over after the loop
Before, after and the reference engine for five measurements
Before, after and the reference engine for five measurements

Thermal compiles a hot loop with its numbers kept in the processor's registers, but until now one operation it did not understand anywhere in a function meant the whole function stayed on Gust. Math methods are now folded: Math.imul becomes one 32-bit multiply and Math.min one instruction, behind a single check when the function starts that Math and its methods are still the built-ins, so a page that replaces Math.imul still gets its own function called. A member read like p.x of an object the function was given checks the object's layout against the one that site has seen, loads the value from its slot, and makes sure it is a number. And an operation after the loop that Thermal does not compile, the toString(36) that ends a CSS-in-JS hash for example, no longer refuses the function: the loop runs in registers, then the values are written into the frame the interpreter uses and the interpreter runs the last few steps. Every one of these leaves for the interpreter in the same way when its check fails, and every test map also runs with Thermal forced to leave at every third operation.

A murmur3 hash with Math.imul770 -> 62 ms (reference engine 7)A CSS-in-JS class-name hash405 -> 38 ms, peak memory 33.7 -> 18.9 MB

String building and new compile

A function with a template literal (`${a}-${b}`) or a concatenation that starts with text ('id-' + n) used to stay in the interpreter, because the compiled tiers had no operation for turning a value into text. They have one now, shared with the interpreter so both convert the same way, and a chain like base + '__' + mod + i that does not start with text is now built in one step once its first piece of text is reached, instead of making a new string at every plus. Functions that use new compile too: built-in constructors such as Date and Map now remember what kind of constructor they are instead of searching their own properties on every new, which made a loop creating dates and maps a fifth faster.

Building class names236 -> 179 msnew Date, new Map, Object.create in a loop21.5 -> 16.8 ms

Closer to the standard

A method written as m() {} or a getter can no longer be called with new, and has no prototype, as the standard requires. class X extends Array now makes real arrays: new X(3) has length 3, Array.isArray says true, X.from and X.of make an X, and map, filter, slice and concat on an X give an X back. A variable created by assigning to an undeclared name in sloppy code is now a property of window, so 'x' in window, Object.keys(window), its property descriptor and delete window.x all see it. And `${obj}` now asks the object for a primitive the standard way: toString first, valueOf if toString is missing, and a TypeError for a Symbol wrapper. Fixing the third one also fixed how a global's value and window's copy of it stay in step when there is more than one script realm, such as frames.

Release checks against the reference browser8 of 8 the same

Wat verander het

7 veranderinge
  1. VertoningThermal folds Math.imul, floor, ceil, sqrt, abs, min and max into single instructions, behind one check that they are still the built-ins: a murmur3 hash 12 times faster.
  2. JavaScript en JITThermal reads number members of an object a function is given (p.x), checked against the layout the page has been using: a member-heavy loop nearly 3 times faster.
  3. JavaScript en JITA step after a loop that Thermal cannot compile no longer refuses the whole function: a CSS-in-JS class-name hash 11 times faster, with 15 MB less at the peak.
  4. VertoningTemplate literals and 'text' + value concatenation compile; chains build their string once instead of at every plus.
  5. VertoningFunctions that use new compile, and built-in constructors no longer search their own properties on every new.
  6. JavaScript en JITMethods and getters are not constructors; class X extends Array makes real arrays; a plain assignment's global is a property of window; template literals convert objects as the standard says.
  7. Oortjies en koppelvlakFloati can write x86-64 code for Intel and Windows machines (Gust), behind a switch for now: it is correct on every test, but its code is too large to be faster yet.

Probeer in jou blaaier

Elke toets loop regstreeks in die blaaier waarmee jy lees. Niks word iewers heen gestuur nie.

KontroleerJou blaaierFloati
Math.imul in a hot hash loop gives 32-bit answersBesig om na te gaanJa
a hash loop whose answer ends in toString(36) is the same in a hot functionBesig om na te gaanJa
new of a method or a getter throws a TypeErrorBesig om na te gaanJa
class extends Array makes real arraysBesig om na te gaanJa
a global made by a plain assignment is a property of windowBesig om na te gaanJa
a template literal converts an object with toString first, then valueOfBesig om na te gaanJa
new Date and new Map in a hot function stay correctBesig om na te gaanJa
a hot loop reading an object parameter follows a changed layoutBesig om na te gaanJa
Geslaag 8 / 8
Alles sedert v0.1.359 op een plek

Weergawes

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

November2026 · 40 weergawes

42725 NovLayouts that remember their workNuutste · v0.1.427 · Vertoning9 42625 NovCompiled with what real pages runv0.1.426 · JavaScript en JIT 42525 NovBuilt with whole-program optimizationv0.1.425 · Vertoning 42425 NovMore layout reused after a script changes the pagev0.1.424 · Vertoning 42324 NovThe optimizing compiler works off the main threadv0.1.423 · Vertoning 42222 NovText-reading loops and element-tree builders run fasterv0.1.422 · JavaScript en JIT14 42122 NovCalls from loops run inside the loop's own machine codev0.1.421 · JavaScript en JIT9 42021 NovPages you come back to run their scripts soonerv0.1.420 · Vertoning17 41918 NovA faster interpreter runs the page's codev0.1.419 · JavaScript en JIT12 41815 NovScripts run faster on busy pagesv0.1.418 · JavaScript en JIT34 41711 NovPages wait less for their own scripts and stylesv0.1.417 · JavaScript en JIT13 41611 NovWebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript en JIT 41510 NovWebGPU loops count right on Macsv0.1.415 · JavaScript en JIT 41410 NovWebGPU runs in its own graphics processv0.1.414 · Vertoning 41310 NovA graphics card reset no longer takes the browser downv0.1.413 · Vertoning 4129 NovVideo moves to the graphics cardv0.1.412 · Media 4119 NovNo canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · Vertoning 4109 NovCanvas drawing moves to the graphics cardv0.1.410 · Vertoning27 4098 NovEvery tile on the GPUv0.1.409 · Vertoning26 4088 Nov3D at 120 frames a secondv0.1.408 · Vertoning23 4077 NovWebGL 2v0.1.407 · Vertoning36 4066 NovA stuck tab stops at oncev0.1.406 · Vertoning16 4055 NovSmall WebGL drawings get smooth edgesv0.1.405 · Vertoning 4045 NovWebGL pages finally movev0.1.404 · Vertoning25 4035 NovWebGPU is herev0.1.403 · Vertoning35 4024 NovA canvas that moves itself to the GPUv0.1.402 · Vertoning 4014 Nov99% of real pages decided by the GPUv0.1.401 · Vertoning9 4004 NovSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Vertoning15 3994 NovAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Vertoning22 3984 NovGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Vertoning14 3973 NovTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Vertoning 3963 NovAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Vertoning 3953 NovCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Vertoning12 3943 NovBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Vertoning 3932 NovStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Vertoning 3922 NovIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Oortjies en koppelvlak 3911 NovEmoji in colour, sized as in the reference browserv0.1.391 · JavaScript en JIT 3901 NovA classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript en JIT12 3891 NovA computer maker's home page: navigation labels back, buttons apartv0.1.389 · Vertoning 3881 NovA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Vertoning18

Oktober2026 · 58 weergawes

Wys nog 57
September2026124 weergawes Augustus2026140 weergawes Julie202656 weergawes