Skip to content

perf: align buffer to Alignment::DEFAULT_ALIGNMENT = Alignment::new(256) - #8490

Merged
robert3005 merged 13 commits into
developfrom
ji/over-align-buffer-default
Jun 22, 2026
Merged

perf: align buffer to Alignment::DEFAULT_ALIGNMENT = Alignment::new(256)#8490
robert3005 merged 13 commits into
developfrom
ji/over-align-buffer-default

note

06c25e9
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 22, 2026 in 0s

Performance Regression: -6.65%

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

⚡ 10 improved benchmarks
❌ 14 regressed benchmarks
✅ 1557 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation varbinview_large 130.2 µs 392.3 µs -66.8%
Simulation baseline_eq[4, 65536] 185.2 µs 243.6 µs -23.96%
Simulation take_10k_random 196.1 µs 254.1 µs -22.85%
Simulation baseline_lt[4, 65536] 200.5 µs 258.6 µs -22.48%
Simulation take_10k_contiguous 217.6 µs 275.2 µs -20.96%
Simulation patched_take_10k_contiguous_patches 230.1 µs 289.1 µs -20.4%
Simulation baseline_eq[16, 65536] 230.1 µs 288.4 µs -20.19%
Simulation patched_take_10k_random 242.8 µs 301.5 µs -19.47%
Simulation baseline_lt[16, 65536] 245.2 µs 303.5 µs -19.21%
Simulation chunked_varbinview_canonical_into[(1000, 10)] 154.8 µs 190.9 µs -18.92%
Simulation from_iter_bit_buffer[128] 4.2 µs 5.1 µs -17.59%
Simulation chunked_varbinview_into_canonical[(1000, 10)] 169.8 µs 205.9 µs -17.53%
Simulation decompress_rd[f64, (100000, 0.1)] 886.5 µs 1,020.1 µs -13.09%
Simulation true_count_arrow_buffer[128] 784.7 ns 872.2 ns -10.03%
Simulation chunked_bool_canonical_into[(1000, 10)] 30.7 µs 16.3 µs +88.68%
Simulation bitwise_not_vortex_buffer_mut[128] 273.6 ns 215.3 ns +27.1%
Simulation runend_compress_u32 4.8 ms 3.8 ms +24.36%
Simulation bitwise_not_vortex_buffer_mut[2048] 456.9 ns 369.4 ns +23.68%
Simulation chunked_varbinview_opt_canonical_into[(1000, 10)] 206.7 µs 169.6 µs +21.88%
Simulation bitwise_not_vortex_buffer_mut[1024] 333.9 ns 275.6 ns +21.17%
... ... ... ... ... ...

ℹ️ 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 ji/over-align-buffer-default (06c25e9) with develop (20363bc)

Open in CodSpeed