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-25 19:37:22 +03:00
2026-09-16 21:22:30 -05:00
2026-08-16 04:19:32 +03:00
2026-09-13 11:45:28 -05:00
2026-08-16 04:19:32 +03:00
2026-09-16 11:45:30 -05:00
2026-09-13 11:45:28 -05:00
2026-09-18 15:36:54 -05:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-09-14 13:05:24 +03:00
2026-08-31 18:50:57 +03:00
2026-09-18 02:00:58 -05:00
2026-08-30 16:57:19 +03:00
2026-09-04 18:08:36 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-19 10:40:55 +02:00
2026-09-15 10:34:50 -05:00
2026-08-31 21:42:35 +03:00
2026-09-14 12:34:09 +03:00
2026-09-14 12:34:09 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-31 21:42:35 +03:00
2026-09-06 11:45:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-30 16:57:19 +03:00
2026-09-16 02:27:56 -05:00
2026-09-18 02:51:03 -05:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-09-06 11:45:32 +03:00
2026-09-06 11:45:32 +03:00
2026-08-31 18:50:57 +03:00
2026-08-28 16:29:50 +03:00
2026-08-28 16:29:50 +03:00
2026-08-22 16:33:16 +03:00
2026-08-16 04:19:32 +03:00
2026-09-16 02:27:56 -05:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-09-16 11:45:30 -05:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 22:04:43 +03:00
2026-09-06 11:45:32 +03:00
2026-08-22 16:03:41 +03:00
2026-08-16 04:19:32 +03:00