Add bit iteration benchmarks - #8656
Conversation
Signed-off-by: Robert Kruszewski <github@robertk.io>
Merging this PR will not alter performance
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | slice_empty_vortex |
339.4 ns | 397.8 ns | -14.66% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[128] |
244.4 ns | 215.3 ns | +13.55% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[1024] |
304.7 ns | 275.6 ns | +10.58% |
| 🆕 | Simulation | execute_mask_then_value[1024] |
N/A | 8.8 µs | N/A |
| 🆕 | Simulation | execute_mask_then_value[256] |
N/A | 12.5 µs | N/A |
| 🆕 | Simulation | is_valid_per_element[1024] |
N/A | 186.5 µs | N/A |
| 🆕 | Simulation | is_valid_per_element[256] |
N/A | 48.5 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=16384_run=16_density=0.1] |
N/A | 89 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=16384_run=16_density=0.5] |
N/A | 88.3 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=16384_run=16_density=0.9] |
N/A | 87.9 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=4096_run=16_density=0.1] |
N/A | 73.2 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=4096_run=16_density=0.5] |
N/A | 27.9 µs | N/A |
| 🆕 | Simulation | filter_run_end[len=4096_run=16_density=0.9] |
N/A | 27.9 µs | N/A |
| 🆕 | Simulation | many_indices[(16384, 0.1)] |
N/A | 51.1 µs | N/A |
| 🆕 | Simulation | many_indices[(16384, 0.9)] |
N/A | 51.1 µs | N/A |
| 🆕 | Simulation | slice_bounds[(16384, 0.1)] |
N/A | 38.7 µs | N/A |
| 🆕 | Simulation | slice_bounds[(16384, 0.9)] |
N/A | 38.7 µs | N/A |
| 🆕 | Simulation | bit_iterator[(16384, 0.01)] |
N/A | 64.3 µs | N/A |
| 🆕 | Simulation | bit_iterator[(16384, 0.1)] |
N/A | 73.8 µs | N/A |
| 🆕 | Simulation | bit_iterator[(16384, 0.5)] |
N/A | 114.2 µs | N/A |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing rk/bititerbenches (adeecae) with develop (5e656ee)
Footnotes
-
4 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. ↩
Add benchmarks for bitbuffer iteration methods