Benchmark Methodology

Designs a trustworthy benchmark comparing two implementations, libraries or configurations, and gates CI on it without flaking. States the question and decision, controls the machine (pinned cores, fixed governor), warms up, runs separate processes, consumes results so the compiler cannot delete the work, interleaves A and B, and reports a median with a bootstrap confidence interval, calling a difference only when it clears the noise floor from an A/A run. For shared CI runners it gates on a stable metric such as instruction counts, with a threshold from A/A variance. Use when someone asks "is this faster than that", "benchmark A vs B", "my benchmark results are all over the place", "how many runs should I do" or "our benchmarks flake in CI". Not for where time goes inside one program (profiling), build time (slow-build-profile), or pipeline structure (ci-pipeline-design).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit e4c0f01b16

Frequently asked questions

npx get-skill add greenblacked/benchmark-methodology