Tất cả phiên bản v0.1.35916 Tháng 10 2026Hiển thị, JavaScript và JIT, Thẻ và giao diện Feed

Ghi chú phát hành được viết bằng tiếng Anh.

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
Điểm nổi bật3

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

Những gì đã thay đổi

7 thay đổi
  1. Hiển thị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 và 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 và 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. Hiển thịTemplate literals and 'text' + value concatenation compile; chains build their string once instead of at every plus.
  5. Hiển thịFunctions that use new compile, and built-in constructors no longer search their own properties on every new.
  6. JavaScript và 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. Thẻ và giao diệnFloati 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.

Thử trong trình duyệt của bạn

Mỗi phép kiểm tra chạy trực tiếp trong trình duyệt bạn đang đọc. Không có gì được gửi đi đâu cả.

Kiểm traTrình duyệt của bạnFloati
Math.imul in a hot hash loop gives 32-bit answersĐang kiểm traCó
a hash loop whose answer ends in toString(36) is the same in a hot functionĐang kiểm traCó
new of a method or a getter throws a TypeErrorĐang kiểm traCó
class extends Array makes real arraysĐang kiểm traCó
a global made by a plain assignment is a property of windowĐang kiểm traCó
a template literal converts an object with toString first, then valueOfĐang kiểm traCó
new Date and new Map in a hot function stay correctĐang kiểm traCó
a hot loop reading an object parameter follows a changed layoutĐang kiểm traCó
Đạt 8 / 8
Mọi thứ kể từ v0.1.359 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026

Tháng 112026 · 4 phiên bản

Tháng 102026 · 7 phiên bản

Tháng 92026 · 10 phiên bản

Tháng 82026 · 26 phiên bản

18218 Tháng 8Now it also spots the audio version of that tracking trickv0.1.182 · Quyền riêng tư và Shields 17918 Tháng 8Longer videos now play all the way throughv0.1.179 · Đa phương tiện 17518 Tháng 8The browser you install now plays video, built entirely from its own codev0.1.175 · Đa phương tiện 17218 Tháng 8Split-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Đa phương tiện 17116 Tháng 8The engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Đa phương tiện 16916 Tháng 8Decoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Đa phương tiện 16816 Tháng 8The engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Đa phương tiện 16715 Tháng 8More real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Đa phương tiện 16615 Tháng 8WebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Đa phương tiện 16115 Tháng 8GPU 3D transforms: every container renders on the devicev0.1.161 · Hiển thị 16015 Tháng 8GPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · API web và DOM 13113 Tháng 8Brotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Hiển thị 12913 Tháng 8VP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Đa phương tiện 12513 Tháng 8fMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Đa phương tiện 1117 Tháng 8Web Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Đa phương tiện 1107 Tháng 8Web Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Đa phương tiện 1097 Tháng 8Web Audio convolution reverb + stereo sample playbackv0.1.109 · Đa phương tiện 1087 Tháng 8Stereo Web Audio: real panning and per-channel routingv0.1.108 · Đa phương tiện 1057 Tháng 8HTTP/2: the modern web transport, from scratchv0.1.105 · Đa phương tiện 1027 Tháng 8Modern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript và JIT 976 Tháng 8Real captionsv0.1.97 · Hiển thị 966 Tháng 8Stateful audio DSP: filters, delay and waveshapingv0.1.96 · Đa phương tiện 956 Tháng 8Real, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Đa phương tiện 866 Tháng 8Real cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Hiển thị 815 Tháng 8Building an object stopped re-allocating its keysv0.1.81 · JavaScript và JIT 661 Tháng 8The worst score on the board turned out to be a cookie bannerv0.1.66 · Hiển thị9

Tháng 72026 · 10 phiên bản