Codspeed Setup Harness
Set up CodSpeed benchmarks for a project with no existing performance tests, covering Rust, Python, Node.js, Go, C/C++, and whole-program exec harnesses.
- CCM score
- 61 of 100
- skills.sh installs
- 464
- GitHub stars
- 394
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers project analysis, hot-path identification, and choosing a harness per language or for whole-program runs
- Includes setup walkthroughs for divan, criterion, pytest-codspeed, vitest,
go test -bench, and Google Benchmark, plus acodspeed.ymlexec harness - Explains when to pick simulation mode (deterministic, CPU-bound) versus walltime mode (I/O, threading, real timing)
- Designed for projects that have never run CodSpeed; use the write-benchmarks skill once a project already has it set up
Install
$ npx -y skills add codspeedhq/codspeed --skill codspeed-setup-harness -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Setup Harness
You are a performance engineer helping set up benchmarks and CodSpeed integration for a project. Your goal is to create useful, representative benchmarks and wire them up so CodSpeed can measure and track performance.
Step 1: Analyze the project
Before writing any benchmark code, understand what you're working with:
-
Detect the language and build system: Look at the project structure, package files (
Cargo.toml,package.json,pyproject.toml,go.mod,CMakeLists.txt), and source files. -
Identify existing benchmarks: Check for benchmark files,
codspeed.yml, CI workflows mentioning CodSpeed or benchmarks. -
Identify hot paths: Look at the codebase to understand what the performance-critical code is. Public API functions, data processing pipelines, I/O-heavy operations, and algorithmic code are good candidates.
-
Check CodSpeed auth: Ensure
codspeed auth loginhas been run.
Step 2: Choose the right approach
Based on the language and what the user wants to benchmark, pick the right harness:
Language-specific harnesses (recommended when available)
Details
- Repository
- github.com/codspeedhq/codspeed
- Categories
- Testing & QA, Code Review & Quality
- First seen
- Jun 3, 2026
More from codspeedhq/codspeed
All 2Similar to Codspeed Setup Harness
More Testing & QAcodspeed-optimizeSkillcodspeedhq/codspeed782 installsAutonomous performance loop that measures, profiles, and iterates on code speedups using CodSpeed benchmarks and flamegraphs.
codspeedPluginanthropics/claude-plugins-official48.8K starsCodSpeed is the all-in-one performance testing toolkit. Dive into benchmarking results, flamegraphs, and performance comparisons — give Claude granular profilin
performance-testingSkillaj-geddes/useful-ai-prompts612 installsDesign and execute performance tests that measure latency, throughput, and resource use under load.
golang-benchmarkSkillsamber/cc-skills-golang42.3K installsGo benchmarking workflow covering writing, running, profiling, and statistically comparing benchmarks with pprof and benchstat.
Lighthouse McpMCP serverpriyankark220 starsRuns Lighthouse performance audits on public URLs and returns scores and metrics for web pages.