Files
Verbatim/benchmark_results.json
T
Emil d6bd77c133 feat: camera zoom, day/night cycle, tooltip, crosshair
- Camera zoom: +/- keys adjust cell size 4-24px, grid_w/h recalculated
  Works in both graphics and ascii renderers via GpuRenderer trait
- Day/night cycle: ambient_light_at_tick() modulates brightness by sine
  Applied to terminal renderer (CPU lighting path)
- Tooltip: shows material name + temperature at mouse cursor position
  Tracked via CursorMoved event, world coords computed from screen pos
- Crosshair: dotted line from player to mouse cursor, fading alpha
  Shows aiming trajectory for projectile combat

All 185 tests + 14 scenarios pass. 162 FPS benchmark.
2026-06-22 17:54:20 +03:00

17 lines
362 B
JSON

{
"mode": "graphics",
"ticks": 300,
"total_time_ms": 1847.9,
"avg_fps": 162.3,
"avg_frame_time_ms": 6.13,
"p99_frame_time_ms": 15.95,
"min_frame_time_ms": 4.61,
"subsystems": {
"ca_step_avg_us": 1708,
"ca_step_p99_us": 11597,
"ca_step_min_us": 332,
"render_avg_us": 3717,
"render_p99_us": 6538,
"render_min_us": 3295
}
}