Skip to content

fastlanes: bit-packed compare-constant fast path + bitpack_constant kernel#8013

Closed
joseph-isaacs wants to merge 8 commits into
developfrom
claude/bitpack-compare-speedup-KGPS3
Closed

fastlanes: bit-packed compare-constant fast path + bitpack_constant kernel#8013
joseph-isaacs wants to merge 8 commits into
developfrom
claude/bitpack-compare-speedup-KGPS3

fastlanes: AVX2 fast paths for in-range bit-packed compare

940b84d
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 2, 2026 in 0s

5 benchmarks 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.

⚡ 9 improved benchmarks
❌ 5 regressed benchmarks
✅ 1261 untouched benchmarks
🆕 16 new benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation baseline_lt[16, 65536] 217.6 µs 303 µs -28.19%
Simulation baseline_eq[4, 65536] 185 µs 243 µs -23.86%
Simulation baseline_lt[4, 65536] 200.8 µs 258 µs -22.17%
Simulation baseline_eq[16, 65536] 229.9 µs 287.8 µs -20.13%
Simulation chunked_varbinview_canonical_into[(1000, 10)] 162.1 µs 198.2 µs -18.2%
Simulation fast_eq_out_of_range[16, 65536] 225.1 µs 36.2 µs ×6.2
Simulation fast_lt_out_of_range[16, 65536] 207.8 µs 36.5 µs ×5.7
Simulation fast_lt_out_of_range[4, 65536] 190.7 µs 35.8 µs ×5.3
Simulation fast_eq_out_of_range[4, 65536] 174.6 µs 36.1 µs ×4.8
Simulation fast_lt_out_of_range[4, 1024] 37.9 µs 26.5 µs +42.93%
Simulation baseline_lt[4, 1024] 78.9 µs 63.2 µs +24.81%
Simulation fast_lt_out_of_range[16, 1024] 31.8 µs 26.6 µs +19.76%
Simulation fast_eq_out_of_range[16, 1024] 32.1 µs 27.7 µs +15.71%
Simulation fast_eq_out_of_range[4, 1024] 31.4 µs 27.7 µs +13.17%
🆕 Simulation full_encode[16, 65536] N/A 358 µs N/A
🆕 Simulation in_range_eq[4, 1024] N/A 30.8 µs N/A
🆕 Simulation in_range_eq[16, 1024] N/A 31 µs N/A
🆕 Simulation in_range_eq_baseline[4, 1024] N/A 83.5 µs N/A
🆕 Simulation full_encode[4, 1024] N/A 19.1 µs N/A
🆕 Simulation in_range_eq[16, 65536] N/A 156.4 µ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 claude/bitpack-compare-speedup-KGPS3 (940b84d) with develop (7de53da)1

Open in CodSpeed

Footnotes

  1. No successful run was found on develop (41af74d) during the generation of this report, so 7de53da was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.