Skip to content

Log frame-time median and p95 - #24

Closed
Personed wants to merge 1 commit into
mainfrom
perf/frame-time-percentiles
Closed

Personed wants to merge 1 commit into
mainfrom
perf/frame-time-percentiles

Conversation

@Personed

@Personed Personed commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Record the duration between presented frames and report nearest-rank p50/p95 in the existing performance log every five seconds.
  • Keep the previous presentation timestamp when clearing a reporting window, so intervals are not lost.
  • Add unit tests for percentile calculation, resetting, and the first frame.

Validation

  • cargo fmt --all -- --check and git diff --check pass.
  • Local Clippy could not run because this Windows environment has no MSVC link.exe; CI runs on windows-latest.
  • No FPS gain is claimed: this adds telemetry to make frame pacing regressions and future optimization results measurable.

Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Heads up from the coordination session: this branch is still based on the pre-fxceless main, so it shows conflicts. Since the change is small (frame-time p50/p95 in the Meter log — directly useful for the 30fps target measurement), I'm re-porting it onto the fxceless base in a new PR now; will close this one once that lands. If you're mid re-base already, say so and I'll drop mine.

Written by Devin

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Fechando como substituída: o re-port para a base fxceless já entrou em main pelo commit 9f28ae5 / integração #55. Obrigado pela base original.

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