Skip to content

Optimise bitpacked filtering and take for valid runs - #10281

Merged
robert3005 merged 15 commits into
developfrom
rk/bitpacked-filter
Oct 15, 2026
Merged

robert3005 merged 15 commits into
developfrom
rk/bitpacked-filter

less

066e637
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 15, 2026 in 0s

1 benchmark regressed

⚠️ 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.

⚠️ 2 benchmarks measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.

Preventing compiler optimizations

⚠️ 19 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

⚠️ 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

⚡ 27 improved benchmarks
❌ 1 regressed benchmark
✅ 2231 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime bitpack_blocked_compress_avx2 6.8 µs 7.6 µs -10.78%
⚡ WallTime threshold_neon[8] 2.8 µs 1.5 µs +92.76%
⚡ WallTime threshold_neon[64] 4.3 µs 2.7 µs +61%
⚡ WallTime filter_neon[64] 2.7 µs 1.8 µs +52.33%
⚡ WallTime threshold_avx2[8] 1.9 µs 1.4 µs +38.72%
⚡ WallTime threshold_avx512[8] 2 µs 1.5 µs +38.4%
⚡ WallTime filter_avx512[80] 2.3 µs 1.7 µs +37.14%
⚡ WallTime threshold_avx2[80] 3.3 µs 2.6 µs +28.15%
⚡ WallTime filter_avx2[64] 2.1 µs 1.6 µs +25.69%
⚡ WallTime filter_avx512[64] 2.1 µs 1.7 µs +23.27%
⚡ WallTime filter_avx2[80] 2.2 µs 1.8 µs +22.12%
⚡ WallTime threshold_avx512[64] 3 µs 2.5 µs +21.35%
⚡ WallTime threshold_avx2[64] 3 µs 2.5 µs +21.33%
⚡ WallTime threshold_neon[80] 4.7 µs 3.9 µs +19.02%
⚡ ⚠️ Simulation random_i128[0.01] 7.6 µs 6.4 µs +18.66%
⚡ WallTime threshold_avx512[80] 3.3 µs 2.8 µs +16.81%
⚡ WallTime filter_avx2[8] 1,053 ns 904 ns +16.48%
⚡ WallTime filter_neon[80] 2.9 µs 2.5 µs +14.3%
⚡ WallTime starts_with_avx512[8, VarBin] 46.3 µs 40.5 µs +14.21%
⚡ Simulation random_i128[0.8] 175.3 µs 154.3 µs +13.62%
... ... ... ... ... ...

ℹ️ 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/bitpacked-filter (066e637) with develop (505fcfa)

Open in CodSpeed