所有版本 v0.1.36319 十月 2026渲染, JavaScript 与 JIT, 记忆与阅读 订阅

版本说明以英文撰写。

Thermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linear

Thermal, the optimizing compiler Floati writes for itself, now builds every function through Updraft IR on Apple silicon too, so the separate ARM64 code generator it started with is retired (1,400 lines fewer, a smaller browser). Updraft IR was measured faster on every benchmark first: a tiny function called from a hot loop went from 98 to 43 ms, because compiled callers now enter Thermal code directly, and integer loops keep their values in integer registers. Building strings got much faster: a CSS-in-JS class-name builder in a page went from 383 to 83 ms, summing string lengths in a loop from 91 to 11 ms, and appending a template to a string no longer copies the whole string each time. Two slow paths that grew with the square of their input are now linear: testing a prefix at a position in a long text (a WebIDL parser went from 2,670 to 592 ms) and appending templates in compiled functions. Floati also follows the standard in more places: iterating null or a plain object throws a TypeError, delete on a sealed object fails, generator objects inherit their function's prototype, and the v flag's set operations in regular expressions work.

98 -> 43 msA tiny hot callee (ARM64)
383 -> 83 ms (reference engine 21)Class-name builder in a page
10 of 10 the sameRelease checks against the reference browser
亮点3

One code generator for Thermal

Thermal's old ARM64 code generator against Updraft IR, which replaces it
Thermal's old ARM64 code generator against Updraft IR, which replaces it

Thermal compiles the hottest loops with their numbers held in registers. It used to have two code generators: one that wrote ARM64 instructions directly, and Updraft IR, Floati's own compiler core, which writes ARM64 and x86-64. Updraft IR now beats the direct generator on every benchmark measured, so it is Thermal's code generator everywhere and the direct one is gone. Three changes got it there. 32-bit integer operations use the processor's 32-bit instruction forms, so no extra masking instruction follows each one. Remainder, multiplying by a constant and Math.imul stay in integer registers, with a check that falls back if a result would overflow or be -0, so a hash such as h = (h * 31 + c) % m keeps h an integer across its loop. And code that calls a function Thermal compiled now jumps straight into it: before, every such call went through a slow general call path. On x86-64 the same changes took a generator loop from 419 to 244 ms and a tiny hot callee from 630 to 279 ms.

A tiny hot callee (ARM64)98 -> 43 msA generator loop (x86-64)419 -> 244 ms

Building strings, and two quadratic paths made linear

Before, after and the reference engine in a page on an ARM64 Mac
Before, after and the reference engine in a page on an ARM64 Mac

A string built piece by piece (s = s + ' ' + a + '-' + b) used to make a new string at every +. The whole chain is now one join, an append of a short piece in a compiled loop goes to the end of the string being built, and short joins copy their bytes once. Two cases were much worse than slow. s += `${k}=${v};` in a compiled function flattened the whole string being built on every pass, so a million appends allocated 8.3 GB; it is 236 MB now. And text.startsWith(p, i) copied the rest of a long text on every call, so a tokenizer testing punctuation at each position was quadratic: the WebIDL parser the test suite runs went from 2,670 to 592 ms. Compiled loops also read a string's length directly (in UTF-16 units, so accented and emoji text count correctly) and read strings from arrays and objects without leaving machine code: summing the lengths of a thousand keys 2,000 times went from 91 to 11 ms.

Class-name builder in a page383 -> 83 ms (reference engine 21)WebIDL parse in a page2,670 -> 592 ms (reference engine 49)

More of the standard, in every tier

Each fix below makes Floati match the reference engine, checked in every compiler tier. Iterating something that cannot be iterated (for...of over null, a number or a plain object, spreading {} or destructuring 5) throws a TypeError instead of running zero times; new Map rejects entries that are not objects, and Promise.all accepts a Set. delete on a sealed object fails, and throws in strict code; x instanceof an arrow function throws; a generator object inherits its generator function's prototype; a let inside a try or catch block has a dead zone from the start of the block; toFixed prints 1e21 and above the way String does; and regular expressions with the v flag support nested classes, set difference and intersection. Plans, Floati's fast interpreter for hot functions, now also cover methods inside a bundle that calls eval, closures made inside blocks, and functions that reuse a name in an inner block.

Release checks against the reference browser10 of 10 the same

改动内容

12 项改动
  1. 渲染Thermal compiles through Updraft IR on every processor; the old ARM64 code generator is retired.
  2. JavaScript 与 JITCalls into Thermal-compiled functions go straight in: a tiny hot callee 98 -> 43 ms.
  3. JavaScript 与 JITInteger loops (remainder, multiply by a constant, Math.imul) stay in integer registers in Thermal.
  4. 渲染Building strings: a CSS-in-JS class-name builder 383 -> 83 ms in a page.
  5. 记忆与阅读Appending templates to a string no longer copies it each time (a million appends: 8.3 GB -> 236 MB allocated).
  6. 渲染startsWith / endsWith at a position read a long text in place: a WebIDL parser 2,670 -> 592 ms.
  7. JavaScript 与 JITCompiled loops read string lengths and strings from arrays directly: 91 -> 11 ms on 2 million lengths.
  8. JavaScript 与 JITMap and Set lookups with string keys from an array run in compiled loops.
  9. JavaScript 与 JITIterating null, a number or a plain object throws a TypeError, as the standard says; Promise.all takes any iterable.
  10. JavaScript 与 JITdelete, instanceof, generator prototypes, block dead zones in try / catch, toFixed and v-flag regex sets match the standard.
  11. JavaScript 与 JITMore hot functions run on the fast plan interpreter: methods in eval-wrapped bundles, closures inside blocks.
  12. JavaScript 与 JITWindows: Gust's compiled frames are registered with the system unwinder.

在你的浏览器中试试

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

检查你的浏览器Floati
for...of over null, a number or a plain object throws a TypeError检查中是
spreading or destructuring a non-iterable throws, a Proxy over an array still spreads检查中是
new Map rejects an entry that is not an object检查中是
new Set and new Map read strings, Sets and generators检查中是
startsWith and endsWith at a position in a long accented text检查中是
a method inside a function that calls eval reads its own this and parameters检查中是
a block can reuse a let name with its own dead zone检查中是
Map lookups with string keys from an array, in a hot loop检查中是
generator objects inherit their function's prototype; deleting a sealed property fails检查中是
string lengths and template appends in a hot loop count UTF-16 units检查中是
通过 10 / 10
v0.1.363 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 40 个版本

42725 十一月Layouts that remember their work最新 · v0.1.427 · 渲染9 42625 十一月Compiled with what real pages runv0.1.426 · JavaScript 与 JIT 42525 十一月Built with whole-program optimizationv0.1.425 · 渲染 42425 十一月More layout reused after a script changes the pagev0.1.424 · 渲染 42324 十一月The optimizing compiler works off the main threadv0.1.423 · 渲染 42222 十一月Text-reading loops and element-tree builders run fasterv0.1.422 · JavaScript 与 JIT14 42122 十一月Calls from loops run inside the loop's own machine codev0.1.421 · JavaScript 与 JIT9 42021 十一月Pages you come back to run their scripts soonerv0.1.420 · 渲染17 41918 十一月A faster interpreter runs the page's codev0.1.419 · JavaScript 与 JIT12 41815 十一月Scripts run faster on busy pagesv0.1.418 · JavaScript 与 JIT34 41711 十一月Pages wait less for their own scripts and stylesv0.1.417 · JavaScript 与 JIT13 41611 十一月WebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript 与 JIT 41510 十一月WebGPU loops count right on Macsv0.1.415 · JavaScript 与 JIT 41410 十一月WebGPU runs in its own graphics processv0.1.414 · 渲染 41310 十一月A graphics card reset no longer takes the browser downv0.1.413 · 渲染 4129 十一月Video moves to the graphics cardv0.1.412 · 媒体 4119 十一月No canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · 渲染 4109 十一月Canvas drawing moves to the graphics cardv0.1.410 · 渲染27 4098 十一月Every tile on the GPUv0.1.409 · 渲染26 4088 十一月3D at 120 frames a secondv0.1.408 · 渲染23 4077 十一月WebGL 2v0.1.407 · 渲染36 4066 十一月A stuck tab stops at oncev0.1.406 · 渲染16 4055 十一月Small WebGL drawings get smooth edgesv0.1.405 · 渲染 4045 十一月WebGL pages finally movev0.1.404 · 渲染25 4035 十一月WebGPU is herev0.1.403 · 渲染35 4024 十一月A canvas that moves itself to the GPUv0.1.402 · 渲染 4014 十一月99% of real pages decided by the GPUv0.1.401 · 渲染9 4004 十一月Smooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · 渲染15 3994 十一月Animations on the GPU compositor, and text that stays in its boxv0.1.399 · 渲染22 3984 十一月Gradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · 渲染14 3973 十一月Transitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · 渲染 3963 十一月Animations on the GPU compositor, and spinners that spin as arcsv0.1.396 · 渲染 3953 十一月Carousels that fade, badges that stay put, and floats that stay insidev0.1.395 · 渲染12 3943 十一月Background images over their colour, interlaced pictures, and borders in every colourv0.1.394 · 渲染 3932 十一月Style sheets in page order, and symbols that fall back like macOSv0.1.393 · 渲染 3922 十一月Icon fonts loaded by script, and colour emoji on Windowsv0.1.392 · 标签页与界面 3911 十一月Emoji in colour, sized as in the reference browserv0.1.391 · JavaScript 与 JIT 3901 十一月A classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript 与 JIT12 3891 十一月A computer maker's home page: navigation labels back, buttons apartv0.1.389 · 渲染 3881 十一月A space agency's home page, a news section and a language site's header now match the referencev0.1.388 · 渲染18

十月2026 · 58 个版本

再显示 57 个
九月2026124 个版本 八月2026140 个版本 七月202656 个版本