Tag: Benchmarking
Posts tagged "Benchmarking".
2026 1 writing
The data race that passed every test
A lock-free SPSC ring buffer returned the correct sum on every run while containing a data race. Then a benchmark with a 2x noise floor almost convinced me the race was worth keeping. The fix was measurement, not luck.