feat(cargo-codspeed): throw an error when building a bench target with the default harness #144
CodSpeed HQ / CodSpeed Performance Analysis
failed
Nov 5, 2025 in 0s
Performance Regression: -9.24%
Summary
⚡ 2 improvements
❌ 8 regressions
✅ 362 untouched
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Benchmarks breakdown
| Mode | Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|---|
| ❌ | WallTime | from_elem[8192] |
520 ns | 544 ns | -4.41% |
| ❌ | WallTime | from_elem_decimal[2048] |
254 ns | 264 ns | -3.79% |
| ❌ | Simulation | count_chars_in_string |
701.1 ns | 730.3 ns | -3.99% |
| ⚡ | Simulation | recursive_memoized[BTreeMap<u64, u64>, 0] |
430 ns | 400.8 ns | +7.28% |
| ⚡ | WallTime | recursive_memoized[BTreeMap<u64, u64>, 5] |
220 ns | 209 ns | +5.26% |
| ❌ | WallTime | generate_combinations[8] |
5 µs | 5.2 µs | -3.26% |
| ❌ | WallTime | generate_parentheses[3] |
2.9 µs | 3.2 µs | -7.9% |
| ❌ | WallTime | hamiltonian_cycle[5] |
884 ns | 974 ns | -9.24% |
| ❌ | WallTime | permutations[7] |
794.6 µs | 828.7 µs | -4.12% |
| ❌ | WallTime | generate_gray_code[1] |
160 ns | 166 ns | -3.61% |
Loading