Alle Versionen v0.1.35916 Okt 2026Darstellung, JavaScript und JIT, Tabs und Oberfläche Feed

Die Versionshinweise sind auf Englisch geschrieben.

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
Highlights3

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

Was sich geändert hat

7 Änderungen
  1. DarstellungThermal 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 und 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 und 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. DarstellungTemplate literals and 'text' + value concatenation compile; chains build their string once instead of at every plus.
  5. DarstellungFunctions that use new compile, and built-in constructors no longer search their own properties on every new.
  6. JavaScript und 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. Tabs und OberflächeFloati 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.

Im eigenen Browser testen

Jeder Test läuft live in dem Browser, mit dem du gerade liest. Es wird nichts gesendet.

PrüfenDein BrowserFloati
Math.imul in a hot hash loop gives 32-bit answersWird geprüftJa
a hash loop whose answer ends in toString(36) is the same in a hot functionWird geprüftJa
new of a method or a getter throws a TypeErrorWird geprüftJa
class extends Array makes real arraysWird geprüftJa
a global made by a plain assignment is a property of windowWird geprüftJa
a template literal converts an object with toString first, then valueOfWird geprüftJa
new Date and new Map in a hot function stay correctWird geprüftJa
a hot loop reading an object parameter follows a changed layoutWird geprüftJa
Bestanden 8 / 8
Alles seit v0.1.359 an einem Ort

Versionen

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

November2026 · 1 Version

Oktober2026 · 7 Versionen

September2026 · 3 Versionen

August2026 · 18 Versionen

14614 AugWebAssembly modules can call JavaScriptv0.1.146 · Darstellung 14414 AugExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript und JIT 13514 AugDevTools automation: the methods a real driver reaches forv0.1.135 · Web-APIs und DOM 12413 AugPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Darstellung 12213 AugTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AugTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Tabs und Oberfläche 12013 AugDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AugDevTools: a Sources panel with a clickable line gutterv0.1.119 · Tabs und Oberfläche 11811 AugDevTools debugger: step over, into and outv0.1.118 · JavaScript und JIT 1177 AugDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AugDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AugDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AugDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AugVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Tabs und Oberfläche 1127 AugDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AugThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AugThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AugOne press, and you are on the new versionv0.1.70 · Tabs und Oberfläche

Juli2026 · 3 Versionen