What are Macro Runners?
Macro runners are bare-metal machines specifically optimized for consistency in performance measurements. They complement CodSpeed’s CPU simulation by providing an environment where walltime measurements are reliable and reproducible.When to Use Macro Runners
Macro runners are ideal when you need to measure:- System calls and I/O operations that are excluded from the CPU Simulation instrument
- End-to-end performance including network, disk, and system interactions
- Walltime benchmarks where actual execution time matters
- Integration tests that require a complete system environment
Runners
Each runner is a dedicated machine with isolated CPU cores and a fixed clock. Its noise level is the typical relative standard deviation of a benchmark’s walltime across repeated CodSpeed runs on that runner.AMD Ryzen 9950X (x86_64)
Label:codspeed-macro-x64-ryzen-9950x-ubuntu-24-04
Generation: Gen 2
Specs:
- Architecture:
x86_64 - CPU: AMD Ryzen 9 9950X, 16 cores
- Clock: 4.3 GHz, fixed
- Memory: 128 GB DDR5
- Storage: 1 TB NVMe
- Network: 10 Gbps
- Tenancy: dedicated, bare metal
- Noise level: under 0.5%, so a 1.7% change stands out from the noise with 99% confidence
- OS: Ubuntu 24.04
Arm Cortex-A72 (arm64)
Label:codspeed-macro-arm64-graviton-ubuntu-22-04
Generation: Gen 1
Specs:
- Architecture:
arm64 - CPU: Arm Cortex-A72, 16 cores
- Clock: 2.3 GHz, fixed
- Memory: 32 GB DDR4
- Storage: 80 GB SSD
- Network: up to 10 Gbps
- Tenancy: dedicated, bare metal
- Noise level: under 1%, so a 3.3% change stands out from the noise with 99% confidence
- OS: Ubuntu 22.04
Usage and limits
Macro Runner minutes draw from the usage credits of your organization, at the same rate on every plan. Your plan also sets the queue priority of your benchmark jobs and how many of them run at the same time:Setup with GitHub Actions
Point the benchmark job at a macro runner by replacing itsruns-on with the
label of the runner, and run the walltime
instrument:
- AMD Ryzen 9950X
- Arm Cortex-A72
.github/workflows/codspeed.yml
Macro Runners on GitHub Actions
Prerequisites, workflow setup and repository access
Setup with CircleCI
On CircleCI, a macro runner is a self-hosted runner resource class that CodSpeed creates and operates in your CircleCI organization. Setting it up takes one CircleCI personal API token and oneresource_class line on the benchmark job.
Macro Runners on CircleCI
Run the benchmark jobs of your CircleCI pipelines on macro runners
A former label keeps working and lands on the same machine as the current one:
codspeed-macro-x86-ryzen-9950x-ubuntu-24-04for the Ryzen runner.codspeed-macrofor the Cortex-A72 runner, the label it had before the machines were named individually.
Next Steps
Walltime Instrument
Learn how to use the walltime instrument with macro runners
Understanding Metrics
Interpret your walltime benchmark results
Performance Checks
Set up automated performance regression detection
Plans & Billing
Plans, usage credits, and active contributors