x/perf/cmd/benchstat: units inconsistent with column header when time per op exceeds one second #61262
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
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?
What did you expect to see?
Column headers consistent with the data within each column.
What did you see instead?
Note that the column headers report
sec/op
, but then the column data includes anm
suffix, suggesting either minutes or milliseconds.If the unit is going to be repeated in the individual entries for the column, it should be omitted from the column header.
On the other hand, if all of the entries are normalized to the same unit, the entries should not also include a unit suffix — especially not one for a unit of a different size!
The text was updated successfully, but these errors were encountered: