Wɔakyerɛw release ho nsɛm no wɔ Borɔfo kasa mu.
Calls from loops run inside the loop's own machine code
A speed release for the engine's compilers. A loop that calls a small function over and over now carries that function inside its own machine code, including small wrappers that pass an array the page keeps. Code with try and catch blocks now runs in the fastest tier. Recorded real pages spend about the same time in script as in 0.1.420: one encyclopedia page is 0.6% faster, and one news page is about 0.5% slower, the expected cost of compiling its error handling.
Small functions called from loops cost almost nothing
Pages often call a tiny helper thousands of times from one loop: a wrapper that hands an array to another function, a getter, a counter. Each call used to leave the loop's machine code, set up a call and come back. The engine now copies the helper, and the function it calls, into the loop's own code, so the loop runs straight through. If the helper is replaced, or its array changes in a way the copy did not expect, the loop falls back to a normal call and gives the same answer.
try and catch run in the fastest tier
A function with a try and catch block used to stay in a slower tier. It now compiles in the optimizing tier, and a throw caught in the same function stays in machine code. Small functions start on the quick tier and move up only once they are busy, and very large ones are never given the slow optimizing compile, so a page's start-up code does not pay for it.
Deɛ asesa
nsesaeɛ 9- JavaScript ne JITSpeed: a loop that calls a top-level function runs that function's machine code directly instead of going through the interpreter's call. Switch: FLOATI_NO_ROOT_FUSE.
- JavaScript ne JITSpeed: compiled code writes an outer function's variable itself when the old value holds no reference. Switch: FLOATI_NO_OUTER_STORE_CELL.
- Krataafa nhyehyɛeɛSpeed: functions whose try blocks only catch compile in the optimizing tier, and a throw caught in the same function stays in machine code. Switch: FLOATI_NO_SSA_TRY.
- JavaScript ne JITSpeed: compiled code enters a top-level function it calls without a stop on the way. Switch: FLOATI_NO_ROOT_FUSE_ENTRY.
- JavaScript ne JITSpeed: the optimizing tier reads the items and length of an array passed in without a call. Switch: FLOATI_NO_THERMAL_INLINE_VIEW.
- JavaScript ne JITSpeed: a loop copies in a small wrapper even when the function it calls has its own loop or reads arrays. Switch: FLOATI_NO_NESTED_INLINE_LOOPS.
- JavaScript ne JITSpeed: a wrapper that passes an array the page keeps in a variable is copied into the loop, which reads the array directly. Switches: FLOATI_NO_NESTED_UPVALUE_FWD, FLOATI_NO_INLINE_ARR_CELLS.
- NetworkSpeed: small functions with try and catch start on the quick tier and move up only when busy, and functions over 256 steps never get the slow optimizing compile (a 19 ms compile on an encyclopedia page's module loader is gone). Switch: FLOATI_NO_SSA_TRY_RENT.
- NetworkFix: a function with try and catch that the optimizing tier cannot compile, and that keeps catching, hands its loop back to the quick loop tier as other functions do (a test loop 98 -> 2.2 ms). Switch: FLOATI_NO_SSA_DECLINE_RETIRE.


