Lightlines
By samber

golang-performance

samber

Make slow Go code measurably faster.

Go performance

What it does

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.

How to use it

Give it a Go project for performance review or optimization; it applies and documents measured performance improvements in the project.

What you provide

  • An existing project

Access · 2

This skill

golang.org/x/perf/cmd/benchstat@latest

Execute

Installs the latest benchstat

/tmp/report-*.txt

Write

Saves benchmark audit files

Good to know

  • starts 3 helper agents
  • starts 1 helper agents
  • starts one helper agent per item, so the count depends on the work

What you need · 2

Requires the go command.

Requires benchstat for benchmark comparison.


About this skill

Visibility
Public
Repository
samber/cc-skills-golang
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
9