-
Notifications
You must be signed in to change notification settings - Fork 4
Update benchmark charts #159
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
Conversation
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
This PR updates benchmark charts with new measurement data by refactoring the traces benchmark test and adding support for conditional attribute sorting based on a sorted parameter. The changes integrate a sorted flag into the span conversion process and reorganize test structure for better chart generation.
- Added sorted parameter to span2span function to conditionally use MapSorted vs MapUnsorted for attributes
- Restructured TestTracesMultipart to generate charts and moved it to end of file
- Updated benchmark HTML with new chart IDs and measurement values
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go/pdata/traces/otlp2stef.go | Adds sorted parameter to span2span function for conditional attribute mapping |
| docs/benchmarks.html | Updates chart IDs, measurement data, and adds new trace benchmark sections |
| benchmarks/size_test.go | Refactors TestTracesMultipart for chart generation and moves to end of file |
| benchmarks/makefile | Updates test pattern to include trace tests with longer benchmark time |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Benchmark ResultBenchmark diff with base branchBenchmark result |
96c660a to
5e14c34
Compare
Also include trace size in the charts.
5e14c34 to
1c54a3a
Compare
Also include trace size in the charts.