Documentation
¶
Overview ¶
Command benchtrend keeps the github-action-benchmark microbenchmark history compact without sacrificing commit granularity.
The perf gate deliberately runs `go test -count=10`. Feeding that raw output to github-action-benchmark stores all ten samples for every metric, even though the dashboard needs one representative point per commit. The convert command emits the median ns/op, B/op, and allocs/op values in the action's custom JSON format. The compact command applies the same median rule to the existing benchmark-action data.js history and removes the action's redundant composite Go points.
Both modes are standard-library-only and fail closed on malformed input.
Click to show internal directories.
Click to hide internal directories.