Choosing an Instrument
Not sure which instrument to use? This decision tree will help you find the right one:- CPU Simulation: Simulates CPU behavior to measure performance, taking into account instructions executed, cache and memory access patterns. Benchmarks run only once for consistent, hardware-agnostic results.
- Walltime: Measures real-world execution time on bare-metal runners managed by CodSpeed, with low noise and high precision.
- Memory: Captures detailed memory usage and heap allocations to help you identify and optimize allocations.
Executor Instruments
CPU Simulation
Measure performance by simulating the CPU behavior
Memory
Track memory usage, allocations, and leaks in your benchmarks
Walltime
Measure performance by measuring the real time taken