x/tools/benchmark: support parsing custom metrics #34475
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I used ReportMetric when running a benchmark and attempted to use
benchcmp
to compare the benchmarks.What did you expect to see?
I expected
benchcmp
to add an additional section showing the change in numbers for the custom benchmarks.I then took a look at
golang.org/x/tools/benchmark/parse
to see if that functionality had been added or if the library had been updated so I could write the tool myself, but I see that the code there has not been updated to either read or expose the new custom metrics.It would be very helpful to update this tool to support these custom metrics. We are beginning to use them to track other metrics and we would like to see how these other metrics change between two changesets.
What did you see instead?
Nothing.
The text was updated successfully, but these errors were encountered: