Skip to content

Add per-stage frame profiler to F3 debug overlay#18

Merged
Purdze merged 1 commit intomasterfrom
feat/frame-profiler
Mar 21, 2026
Merged

Add per-stage frame profiler to F3 debug overlay#18
Purdze merged 1 commit intomasterfrom
feat/frame-profiler

Conversation

@Purdze
Copy link
Owner

@Purdze Purdze commented Mar 20, 2026

Summary

  • Adds CPU-side timing measurements for each render stage
  • Displayed on the right side of the F3 debug overlay
  • Shows: Frame total, Mesh upload, Cull/Draw, Overlay times in milliseconds

Test plan

  • Join server, press F3
  • Verify timing values appear on right side below GPU info
  • Check values update each frame and are reasonable

Shows CPU-side timing for each render stage on the right side of F3:
- Frame: total render_frame time
- Mesh: chunk mesh upload time
- Cull: compute dispatch + indirect draw recording
- Overlay: menu/HUD overlay vertex building + draw
@Purdze Purdze marked this pull request as ready for review March 21, 2026 19:55
@Purdze Purdze merged commit 0b69141 into master Mar 21, 2026
4 checks passed
@Purdze Purdze deleted the feat/frame-profiler branch March 21, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant