mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 15:59:59 -04:00
A freeze (a VirtualQuery and a VirtualProtect of 2 MiB) takes microseconds as a rule, but in the second after an area load each took 8 to 17 ms. The newly loaded regions all go idle together, so 32 came up in one submission: its mirror begin took 70.5 ms and the frame 78 ms, and a 9 ms freeze followed in each of the next 20 frames. In a play session 363 regions were frozen in the second after Kakariko loaded and 70 to 120 a second for the next 20 seconds, with the frames over 50 ms in the same windows. A pass now stops once it has spent NX2NAVI_FREEZE_BUDGET_US (default 1000; 0 as before), and a freeze over 2 ms holds the passes for 250 ms, doubled for each slow one in a row up to 2 s. On the Kakariko route the time in slow memory calls after the load went from 1374 ms in 170 calls to 115 ms in 18, the 78 ms frame is gone, and the regions freeze some three seconds later, once the calls are fast again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
246 KiB
246 KiB