Ghi chú phát hành được viết bằng tiếng Anh.
3D at 120 frames a second
3D pages run at the full rate of a 120 Hz screen. Every few seconds the browser tidied a page that was still animating as if it were idle, throwing away its compiled code, so the next two frames rebuilt it and the scene stuttered. It now leaves an animating page alone. The heaviest 3D page we test uses a third less of the processor, because the objects a 3D library builds keep their fast layout and their methods are found without a search. Some 3D models showed nothing at all and now appear, and WebGL passes 95% of the official conformance pages.
Models that showed nothing




A 3D model loaded quickly here and then the page stayed black, while the reference browser showed it at once. The model file carries a block of XMP metadata, and the loader reads it with getElementsByTagName on names like rdf:Description. We matched the tag by its local name only, so the loader found nothing it expected and stopped. Tag names now match the way the standard says, the whole qualified name.
A glTF model with an environment map: Floati 0.1.407, Floati 0.1.408 and the reference browser.
120 frames a second, and why it was 110
Three of four 3D test pages ran at 109 to 112 frames a second on a 120 Hz screen while using under half a core, so the processor was not the limit. A log of every frame showed the time was lost in stalls of 40 and 65 ms every four seconds. The idle tidy-up, which packs a quiet page away to save memory, also ran on a page drawing animation frames, and it threw away the page's compiled code. A page that wants frames is not idle any more.
A third less work on the heaviest 3D page
Counting every property read that took the slow general path on the animated keyframes page found 22 million in 25 seconds. The 3D library's scene objects were stored as dictionaries, because defineProperty removed attribute markers that had never been set, and every removal changed the object's layout. Methods on class instances and checks for properties an object does not have were never cached. With those fixed, a call over a list holding meshes, lines and points stays in compiled code instead of falling back.
95% of WebGL conformance
We ran the official WebGL 1 conformance pages one by one and fixed what they found: a draw with an enabled attribute and no buffer, a draw after a failed relink, reserved names, copies into the texture being read, losing and restoring a context, ties in clamped bytes, and workers that could not load scripts or pass a DataView.
Những gì đã thay đổi
23 thay đổi- JavaScript và JITSpeed: a page that draws animation frames is no longer tidied as if idle. The tidy-up threw away its compiled code every few seconds, so 3D pages on a 120 Hz screen ran at 109 to 112 frames a second. They now hold 120. Switch: FLOATI_NO_ANIM_COMPACT_SKIP.
- Hiển thịFIX: objects keep their fast layout after defineProperty. Clearing an attribute that was never set turned the object into a dictionary, and every scene object of the most used 3D library became one in its constructor. Switch: FLOATI_NO_MARKER_CHECK.
- Hiển thịSpeed: objects keep a fixed layout up to 64 properties, up from 32, so a 3D library's meshes stay on the fast path. Switch: FLOATI_SHAPE_KEY_LIMIT.
- JavaScript và JITSpeed: a method read on a class instance is cached by the object's layout and its exact constructor, so it no longer walks the prototype chain on every call. Switch: FLOATI_NO_CTOR_METHOD_CACHE.
- Hiển thịSpeed: checking a property a class instance does not have is cached the same way. Switch: FLOATI_NO_LINKED_ABSENT.
- Hiển thịSpeed: reading a property no object on the chain has is cached per line of code, up to four kinds of object each: 18 to 21 times faster. Switch: FLOATI_NO_ABSENT_IC.
- JavaScript và JITSpeed: a method call over a list of several kinds of object stays in compiled code when they share the method, and recompiles when a new kind arrives. 110 times slower than the reference runtime before, even now. Switches: FLOATI_NO_ELEM_ALT_SHAPES, FLOATI_NO_VERIFY_IC.
- Hiển thịSpeed: dictionaries skip the search for internal slots they cannot hold. Switch: FLOATI_NO_DICT_DUNDER_SKIP.
- JavaScript và JITFIX: a proxy on the prototype chain of a read runs its get trap.
- Hiển thịFIX: getElementsByTagName matches the whole qualified name, so a 3D model carrying XMP metadata loads instead of leaving the page black. Switch: FLOATI_NO_TAG_COLLECTIONS.
- Hiển thịFIX: WebGL refuses a draw with an enabled attribute that has no buffer, and a draw after a failed relink, as the standard says.
- Hiển thịFIX: WebGL refuses reserved and badly formed names, attaching a texture never bound, copies that read the texture being written, and non power of two copies in WebGL 1.
- Hiển thịFIX: losing and restoring a WebGL context follows the extension, and the extension object survives the restore.
- Hiển thịFIX: shaders that read gl_DepthRange list its fields, identifiers may be 256 characters, and a clamped byte rounds a tie to even.
- Hiển thịFIX: workers can load scripts, pass a DataView, know their location, keep real time, stop when told, and report their errors to the page.
- API web và DOMFIX: WebAssembly can call back into a page that calls it again, a stuck module stops when the tab is stopped, and running out of stack is a RangeError.
- Bộ nhớ và đọcFIX: resizing a WebGL canvas frees its old drawing buffer on the GPU. Resized canvases grew GPU memory from 52 to 444 MB.
- Bộ nhớ và đọcMemory: a WebGL canvas without stencil gets a depth-only buffer, and a clear on one no longer trips validation.
- Bộ nhớ và đọcMemory: large textures keep their pixels on the processor only while they need them, and an upload syncs only the texture it touched.
- API web và DOMFIX: a frame that runs late is followed at once by the next one instead of waiting for the boundary after it.
- API web và DOMNew: pointer and wheel events from the window reach the page with capture, boundary events and cancellable wheel.
- API web và DOMNew: three public WebGPU samples run at 120 frames a second, and a GPU error a page does not catch is kept in the log.
- Bộ nhớ và đọcTesting: 37 new laws cover the caches, the native element guard, WebGL conformance cases, workers and the GPU buffer leak. The release check passed on Mac, Windows and Linux with no page slower.


