wip: Optimize BitBuffer methods across the board #7375
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Apr 9, 2026
Performance Gate Passed
⚡ 26 improved benchmarks
✅ 1096 untouched benchmarks
⏩ 1455 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | chunked_bool_canonical_into[(100, 100)] |
114.9 µs | 103 µs | +11.56% |
| ⚡ | Simulation | chunked_bool_canonical_into[(1000, 10)] |
60.2 µs | 48 µs | +25.49% |
| ⚡ | Simulation | chunked_opt_bool_canonical_into[(1000, 10)] |
61.3 µs | 37.9 µs | +61.59% |
| ⚡ | Simulation | chunked_opt_bool_canonical_into[(100, 100)] |
240.2 µs | 213.2 µs | +12.64% |
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(1000, 10)] |
69 µs | 45.2 µs | +52.74% |
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(100, 100)] |
265 µs | 238 µs | +11.36% |
| ⚡ | Simulation | density_sweep_single_slice[0.9] |
138.7 µs | 58.4 µs | ×2.4 |
| ⚡ | Simulation | filter_one_false[100000] |
174.2 µs | 125 µs | +39.4% |
| ⚡ | Simulation | filter_one_false[250000] |
407.2 µs | 296.6 µs | +37.27% |
| ⚡ | Simulation | filter_one_false[10000] |
34.1 µs | 29 µs | +17.79% |
| ⚡ | Simulation | varbinview_zip_block_mask |
3.7 ms | 3.4 ms | +10.27% |
| ⚡ | Simulation | append_vortex_buffer[65536] |
923.3 µs | 468.2 µs | +97.21% |
| ⚡ | Simulation | append_vortex_buffer[2048] |
29.1 µs | 14.9 µs | +95.91% |
| ⚡ | Simulation | bitwise_not_vortex_buffer[128] |
4.5 µs | 3.9 µs | +17.47% |
| ⚡ | Simulation | bitwise_not_vortex_buffer[1024] |
3.7 µs | 3 µs | +24.42% |
| ⚡ | Simulation | bitwise_not_vortex_buffer[16384] |
6.6 µs | 5.9 µs | +11.93% |
| ⚡ | Simulation | append_buffer_vortex_buffer[1024] |
18.3 µs | 14.1 µs | +29.5% |
| ⚡ | Simulation | append_buffer_vortex_buffer[128] |
14.3 µs | 12.3 µs | +15.96% |
| ⚡ | Simulation | append_buffer_vortex_buffer[65536] |
111.6 µs | 100.9 µs | +10.59% |
| ⚡ | Simulation | append_buffer_vortex_buffer[2048] |
20.2 µs | 11.8 µs | +71.68% |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing claude/optimize-bit-buffer-NeeMo (a87bb17) with develop (256a029)
Footnotes
-
1455 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Loading