1 Commits
Author SHA1 Message Date
Ludovic MarieandClaude Opus 5.5 d5273ce67f Frame pacing benchmark: tools/pacing_bench.py, stats raw, spans::laps
perf_bench measures throughput on short flights; pacing_bench records every
frame of the sessions where players see hitches (64 blocks/s flight, eight
long teleports, Nether trips, inventory and pause menu spam) and reports p50,
p99, p99.9, max, 1% and 0.1% lows and frames over 33 ms, with the timed spans
of the slowest frames (HORIZON_SPIKES) beside them.

- horizon-ctl `stats raw`: every frame time since the last reset, as `fly ...
  raw` gives for a flight.
- spans::laps: a function's consecutive steps as spans, nothing read while
  spans are off. Renderer::draw_frame and Game::entity_geometry time their
  steps with it; they found the lead knot's model parse (41 ms) and the
  arena page frees (8-14 ms).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 02:50:38 +01:00