Implement compare/between for bitpacked arrays - improve performance by up to 2X #7279
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Apr 3, 2026 in 0s
Performance Gate Passed
⚡ 30 improved benchmarks
✅ 1092 untouched benchmarks
⏩ 1530 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | new_alp_prim_test_between[f64, 32768] |
254.2 µs | 119 µs | ×2.1 |
| ⚡ | Simulation | old_alp_prim_test_between[f32, 2048] |
128.8 µs | 67.8 µs | +90.08% |
| ⚡ | Simulation | old_bp_prim_test_between[i16, 16384] |
161.3 µs | 99.7 µs | +61.76% |
| ⚡ | Simulation | new_bp_prim_test_between[i64, 16384] |
140.5 µs | 74.4 µs | +88.9% |
| ⚡ | Simulation | new_bp_prim_test_between[i64, 2048] |
65.3 µs | 46.8 µs | +39.42% |
| ⚡ | Simulation | old_alp_prim_test_between[f64, 2048] |
135.8 µs | 68.6 µs | +98.03% |
| ⚡ | Simulation | old_alp_prim_test_between[f64, 16384] |
239.8 µs | 100.5 µs | ×2.4 |
| ⚡ | Simulation | old_bp_prim_test_between[i32, 16384] |
174.4 µs | 95.6 µs | +82.39% |
| ⚡ | Simulation | old_bp_prim_test_between[i16, 32768] |
215.7 µs | 149.9 µs | +43.89% |
| ⚡ | Simulation | new_bp_prim_test_between[i32, 32768] |
159.1 µs | 87.5 µs | +81.92% |
| ⚡ | Simulation | old_alp_prim_test_between[f32, 16384] |
197.6 µs | 112 µs | +76.41% |
| ⚡ | Simulation | new_bp_prim_test_between[i32, 16384] |
105.1 µs | 64.6 µs | +62.74% |
| ⚡ | Simulation | old_bp_prim_test_between[i32, 32768] |
252.2 µs | 140.5 µs | +79.52% |
| ⚡ | Simulation | new_alp_prim_test_between[f64, 2048] |
76 µs | 57.6 µs | +32.09% |
| ⚡ | Simulation | new_bp_prim_test_between[i16, 16384] |
86.2 µs | 60.1 µs | +43.46% |
| ⚡ | Simulation | old_alp_prim_test_between[f64, 32768] |
352.1 µs | 152.7 µs | ×2.3 |
| ⚡ | Simulation | old_bp_prim_test_between[i64, 16384] |
215.8 µs | 91.3 µs | ×2.4 |
| ⚡ | Simulation | new_bp_prim_test_between[i64, 32768] |
180.1 µs | 103.6 µs | +73.8% |
| ⚡ | Simulation | new_bp_prim_test_between[i16, 32768] |
124.1 µs | 82.1 µs | +51.24% |
| ⚡ | Simulation | old_alp_prim_test_between[f32, 32768] |
273.1 µs | 162.2 µs | +68.42% |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing adamg/bitpack-compare (038feeb) with develop (e3c7401)
Footnotes
-
1530 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