Примечания к выпускам написаны на английском.
The optimizing compiler works off the main thread
A speed release for the engine's compilers and memory. The fastest compiler tier now builds its machine code on a background thread while the page keeps running, so a long compile no longer holds up a frame. Functions that call themselves inside loops, the way element-tree comparisons do, keep their constants where they are used. Memory from big structures that die together is handed back in smaller steps, and flexible layouts reuse the measuring work they already did. Recorded real pages spend about 2% less time in script, style and layout than in 0.1.422, with no page slower.
Compiling on a background thread
When a function gets hot, the engine builds a description of it on the page's own thread, then hands that description to a background thread for the slow part: optimizing, choosing registers and writing machine code. The page keeps running the function's quicker first version meanwhile, and the new code is put in place the next time the function runs. Code with try blocks and code that leaves the fast path still compiles on the page's thread, where it must.
Constants stay inside loops that call
The optimizer used to move every constant out of a loop to the start of the function. In a loop that calls a function, those values then had to be saved and reloaded around each call, on every call. A loop that calls now keeps its constants next to where they are used.
Что изменилось
5 изменений- СетьSpeed: the optimizing tier writes machine code on a background thread and installs it at the function's next run; the page runs the quicker first version meanwhile. Switch: FLOATI_NO_BG_COMPILE.
- JavaScript и JITSpeed: a loop that calls a function keeps its constants inside the loop instead of saving and reloading them around every call. Switch: FLOATI_NO_HOIST_SKIP_CALL_LOOPS.
- Память и чтениеSpeed: when a big structure dies, its memory is handed to the background cleaner after 256 parts instead of 4,096 (sorting objects by a key 5.8 -> 4.3 ms). Switch: FLOATI_REAPER_BUDGET=4096 restores the old size.
- ОтрисовкаSpeed: a flexible layout reuses the copy it measured while sizing an item instead of laying that item out again (8% fewer layout passes on a large code-hosting page). Switch: FLOATI_NO_LAYOUT_DONORS.
- ОтрисовкаFix: long words no longer break when they overflow their box by a rounding error, and broken pieces keep their letter spacing and bold width. Switches: FLOATI_NO_BREAK_WORD_SLACK, FLOATI_NO_BREAK_WORD_SPACING.








































