-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Add rw benchmark line chart #19030
base: main
Are you sure you want to change the base?
Add rw benchmark line chart #19030
Conversation
Skipping CI for Draft Pull Request. |
Given the following files: Running it with: go run . result-20240* -t test-line -o test-line -c line |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 25 files with indirect coverage changes @@ Coverage Diff @@
## main #19030 +/- ##
==========================================
+ Coverage 68.82% 68.93% +0.10%
==========================================
Files 421 421
Lines 35901 35901
==========================================
+ Hits 24708 24747 +39
+ Misses 9762 9733 -29
+ Partials 1431 1421 -10 Continue to review full report in Codecov by Sentry.
|
Running it for a single dataset, i.e., result-202402281701.csv go run . result-202402281701.csv -t test-line -o test-line -c line Generates: |
Thanks @ivanvc for the progress. As compared to my previous solution in #15060, the good side / bad side of this PR is exactly the bad side / good side of my previous solution. This PR,
Probably we can find a compromise or combine the best aspects of both.
|
I agree that the chart is too dense. We would benefit from an interactive format (i.e., your solution/d3js, etc.). The problem with an HTML file is that it's less portable (and embeddable) than an image. If we go that route, we should host it somewhere (i.e., Netlify), but it adds to the complexity of the implementation. Implementing your suggestions: or |
You can export each line chart into a .PNG file, refer to #15060 (comment). You can also create a screen shot for all line charts, see the picture in #15060 (comment). We can also zip the html file and share it in the PR discussion.
It's a little better now, but it's really hard to differentiate the lines for different value sizes. |
I suggest to get this merged firstly, and consider to improve it later. Please mark this PR ready for review it's done, please also provide a final image file (line charts). thx |
@ivanvc can we try to get this merged? thx |
Yes, this still needs some code improvements. It was a PoC, and I didn't finish it due to other priorities. |
We need this PR to visualize the benchmark result. It's in the top of my review list. thx |
Alright, I'll clean up the code and will have it ready soon. |
0975ba0
to
a640371
Compare
a640371
to
340f6a1
Compare
340f6a1
to
6f2985f
Compare
94725be
to
15a1638
Compare
Oops, I clicked ready for review too soon. I had changes on my laptop, which I forgot to push. The code stands with the second option we discussed. It also makes sense to rename it from |
15a1638
to
f1085fb
Compare
Add a new line chart to plot the results from the rw-benchmarks. Signed-off-by: Ivan Valdes <ivan@vald.es>
f1085fb
to
b16bd86
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, ivanvc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I've been working on this on and off, and I wanted to get it moving before the end of this year.
It implements line charts for the "rw-heatmaps." I want to get some feedback on the resulting charts. We should also rename
tools/rw-heatmaps
to something that suits both heatmaps and line charts.I'll squash commits as we get closer to merging this.
Supersedes #15060.
/cc @ahrtr @jmhbnz