benchtrend

command
v0.0.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL