Golang Benchmark

v1.1.1

Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpret...

0· 109·0 current·0 all-time
bySamuel Berthe@samber
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, required binaries (go, benchstat), references, and install step (go install golang.org/x/perf/cmd/benchstat) all match the declared purpose of Go benchmarking and analysis.
Instruction Scope
SKILL.md is large and focused on benchmark writing, pprof, benchstat and CI workflows — all within purpose. It also includes system-tuning commands (writing to /sys/devices/... to change CPU governors, disabling turbo boost, pinning CPUs), kubectl env changes to enable pprof/continuous profiling, and guidance to enable profiling endpoints. Those are relevant to large-scale benchmarking/investigation but are high-impact operations; the file includes warnings to apply them only to dedicated CI/diagnostic hosts.
Install Mechanism
Install uses `go install` from golang.org/x/perf to produce the benchstat binary — an expected and standard install mechanism for Go tooling. No arbitrary URL downloads, extract steps, or unknown hosts were used.
Credentials
The skill requests no environment variables, no credentials, and no config paths. All commands in the instructions assume developer/CI access (kubectl, sudo) but do not demand unrelated secrets or tokens in the skill metadata.
Persistence & Privilege
Skill is user-invocable, not always-enabled, and does not request persistent elevated privileges or modify other skills. Allowed tools include networking/search utilities appropriate for an instruction skill.
Assessment
This skill appears to be what it claims: a comprehensive Go benchmarking and profiling guide that installs benchstat. Before using it, consider: (1) The SKILL.md contains high-impact system commands (sudo writes to /sys, disabling turbo, pinning CPUs) — run those only on dedicated CI/runners, not on your laptop or shared servers. (2) Enabling pprof/continuous profiling or trace collection in production can expose internal stacks/data and add overhead — secure endpoints and limit scope. (3) Some referenced CI tools (cob, benchdiff) use git operations like git reset — commit/stash local work before running. (4) The install uses `go install` from an official golang.org path (benchstat) — verify you trust the upstream repo if you require reproducible binaries. If you plan to run the setup commands, ensure you have proper access (sudo, kubectl) and a safe target environment.

Like a lobster shell, security has layers — review code before you run it.

latestvk972w90v8mtd20c2h9hgk0nah183jney

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📊 Clawdis
Binsgo, benchstat

Install

Go
Bins: benchstat

Comments