Skip to content

Conversation

@joelreymont
Copy link
Contributor

@joelreymont joelreymont commented Nov 7, 2025

I've been looking for a better way to measure loading performance than eyeballing the UI to check when loading has ended. To that end, this PR implements metrics tracking for RRD file loading when profiling is active.

It tracks the complete pipeline from file loading through playback completion with detailed timing breakdowns and a visual timeline display. Also prints performance breakdown to the console.

Metrics tracked:

  • Time to first message
  • Stream latency
  • Ingestion lag time
  • Playback time
  • Message throughput (msgs/sec)
  • Total end-to-end loading time

This is how it looks in action

CleanShot.2025-11-07.at.13.06.01.mp4

Final look

CleanShot 2025-11-07 at 13 07 26@2x

And console output

CleanShot 2025-11-07 at 13 08 03@2x

Implements metrics tracking for RRD file loading when
profiling is active. Tracks the complete pipeline
from file loading through playback completion with
detailed timing breakdowns and a visual timeline display.
Also prints performance breakdown to the console.

Metrics tracked:
- Time to first message
- Stream latency
- Ingestion lag time
- Playback time
- Message throughput (msgs/sec)
- Total end-to-end loading time
@joelreymont
Copy link
Contributor Author

Fixed bug where elapsed time kept running for the duration of playback.

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