Files
InstanceBrick--nightcap/tests
vii 718e67f9e1 perf(runtime): rest the engine pump between polls instead of spinning
The main thread polls nativeCallMessagesFromMainThread 146k times a second
with nothing to do. Between polls it now rests 100 us: nanosleep when the
governor is performance, TPAUSE (C0.2) when the CPU has WAITPKG, a spin
otherwise. Sleeping under a power-saving governor lets the render thread's
core clock down and drops frames, which is why TPAUSE is the default there.
MOCKTAIL_ENGINE_PUMP_REST=sleep|tpause|spin overrides. The profile trace
gains a slice for pumps that ran a message.
2026-09-18 15:36:54 -05:00
..
2026-08-12 01:58:18 +03:00
2026-09-06 20:06:15 +03:00
2026-08-12 01:58:18 +03:00
2026-09-15 19:52:24 +03:00
2026-09-05 18:29:04 +03:00
2026-09-06 11:45:32 +03:00
2026-09-14 15:24:04 +03:00
2026-09-14 13:05:24 +03:00
2026-09-06 11:45:32 +03:00
2026-09-14 13:05:24 +03:00
2026-08-12 01:58:18 +03:00
2026-08-28 17:54:52 +03:00
2026-09-06 11:45:32 +03:00
2026-09-14 12:34:09 +03:00
2026-08-12 01:58:18 +03:00
2026-08-15 23:02:35 +03:00