-
Notifications
You must be signed in to change notification settings - Fork 4
Update benchmark charts to use unit sizes #355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Benchmark ResultBenchmark diff with base branchBenchmark result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the benchmark chart outputs to report normalized sizes (bytes per metric datapoint / bytes per trace span) instead of total bytes, improving comparability across datasets.
Changes:
- Normalize metric size charts to
Bytes/pointand trace size charts toBytes/span(with 1-decimal rounding). - Add a shared float rounding helper and adjust chart recording to preserve non-integer values.
- Keep speed benchmark charts as integer
ns/pointvalues by rounding at call sites.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| docs/benchmarks.html | Regenerated benchmark charts with per-point/per-span y-axis units and normalized values. |
| benchmarks/size_test.go | Computes point/span counts and records normalized chart values; updates chart axis units. |
| benchmarks/charts.go | Adds roundFloat helper and stops forcing integer rounding in Record. |
| benchmarks/benchmarks_test.go | Rounds Record-based speed metrics now that Record no longer rounds internally. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Instead of showing total byte sizes charts now show bytes per datapoint or per span, which is easier to compare for different datasets.
a8c532d to
7f9d4dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Instead of showing total byte sizes charts now show bytes per datapoint or per span, which is easier to compare for different datasets.