Skip to content

Add bit iteration benchmarks - #8656

Merged
robert3005 merged 1 commit into
developfrom
rk/bititerbenches
Jul 6, 2026
Merged

Add bit iteration benchmarks#8656
robert3005 merged 1 commit into
developfrom
rk/bititerbenches

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

Add benchmarks for bitbuffer iteration methods

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 requested review from a team and 0ax1 July 6, 2026 11:10
@robert3005 robert3005 added the changelog/chore A trivial change label Jul 6, 2026
@robert3005
robert3005 enabled auto-merge (squash) July 6, 2026 11:10
@robert3005
robert3005 merged commit b0d7e8c into develop Jul 6, 2026
75 of 77 checks passed
@robert3005
robert3005 deleted the rk/bititerbenches branch July 6, 2026 11:19
@codspeed-hq

codspeed-hq Bot commented Jul 6, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
❌ 1 regressed benchmark
✅ 1594 untouched benchmarks
🆕 43 new benchmarks
⏩ 4 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

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)

Open in CodSpeed

Footnotes

  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants