Make slow Go code measurably faster.
Go performance
Applies measured optimization patterns to fix profiled Go bottlenecks and review code for performance gains.
When to use it
Use after profiling or benchmarks identify a bottleneck, or when reviewing code for performance improvements.
Give it a Go project for performance review or optimization; it applies and documents measured performance improvements in the project.
What you provide
This skill
golang.org/x/perf/cmd/benchstat@latest
Installs the latest benchstat
/tmp/report-*.txt
Saves benchmark audit files
Requires the go command.
Requires benchstat for benchmark comparison.