Skip to content

chore: use std::hint::black_box

6178dd1
Select commit
Loading
Failed to load commit list.
Merged

chore: use std::hint::black_box #97

chore: use std::hint::black_box
6178dd1
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 27, 2025 in 0s

Performance Regression: -18.86%

Summary

⚡ 3 improvements
❌ 10 regressions
✅ 154 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
a 254.7 ns 281.4 ns -9.48%
a 254.7 ns 281.4 ns -9.48%
fibo_iterative 126.7 ns 156.1 ns -18.86%
sum_fold 254.4 ns 283.9 ns -10.37%
sleep_1ms 566.1 ns 595.3 ns -4.9%
from_elem[1024] 1.9 µs 1.8 µs +3.27%
from_elem_decimal[1024] 1.9 µs 1.8 µs +3.27%
mut_borrow 895.8 ns 866.7 ns +3.37%
sleep_100ns 566.1 ns 595.3 ns -4.9%
sleep_100us 536.9 ns 566.1 ns -5.15%
sleep_1ms 536.9 ns 566.1 ns -5.15%
sleep_1ns 536.9 ns 566.1 ns -5.15%
sleep_1us 536.9 ns 566.1 ns -5.15%