所有版本 v0.1.35916 十月 2026渲染, JavaScript 与 JIT, 标签页与界面 订阅

版本说明以英文撰写。

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
亮点3

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

改动内容

7 项改动
  1. 渲染Thermal 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 与 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 与 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. 渲染Template literals and 'text' + value concatenation compile; chains build their string once instead of at every plus.
  5. 渲染Functions that use new compile, and built-in constructors no longer search their own properties on every new.
  6. JavaScript 与 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. 标签页与界面Floati 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.

在你的浏览器中试试

每项检查都在你正在阅读的浏览器中实时运行。不会发送任何内容。

检查你的浏览器Floati
Math.imul in a hot hash loop gives 32-bit answers检查中是
a hash loop whose answer ends in toString(36) is the same in a hot function检查中是
new of a method or a getter throws a TypeError检查中是
class extends Array makes real arrays检查中是
a global made by a plain assignment is a property of window检查中是
a template literal converts an object with toString first, then valueOf检查中是
new Date and new Map in a hot function stay correct检查中是
a hot loop reading an object parameter follows a changed layout检查中是
通过 8 / 8
v0.1.359 之后的所有内容,集中在一处

版本

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 · Web 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 · 开发者工具 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 · 开发者工具 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 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本