Skip to content

some fixes

ae9bc12
Select commit
Loading
Failed to load commit list.
Draft

Optimize buffer ops #8322

some fixes
ae9bc12
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 10, 2026 in 0s

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

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

⚡ 20 improved benchmarks
❌ 2 regressed benchmarks
✅ 1510 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_bool_canonical_into[(1000, 10)] 20.2 µs 34.5 µs -41.34%
Simulation chunked_varbinview_canonical_into[(100, 100)] 274.4 µs 309.8 µs -11.41%
Simulation slice_empty_vortex 2,599.4 ns 368.3 ns ×7.1
Simulation append_buffer_vortex_buffer[65536] 95.4 µs 27 µs ×3.5
Simulation append_buffer_vortex_buffer[16384] 32 µs 12.9 µs ×2.5
Simulation append_buffer_vortex_buffer[128] 11.6 µs 5.4 µs ×2.2
Simulation append_buffer_vortex_buffer[1024] 13.6 µs 8.5 µs +61.24%
Simulation slice_vortex_buffer[1024] 1,276.7 ns 813.1 ns +57.02%
Simulation slice_vortex_buffer[16384] 1,276.7 ns 813.1 ns +57.02%
Simulation slice_vortex_buffer[2048] 1,276.7 ns 813.1 ns +57.02%
Simulation slice_vortex_buffer[128] 1,276.7 ns 813.1 ns +57.02%
Simulation slice_vortex_buffer[65536] 1,276.7 ns 813.1 ns +57.02%
Simulation append_buffer_vortex_buffer[2048] 11.4 µs 7.9 µs +45.37%
Simulation search_index_below_min_chunked 1.5 ms 1.3 ms +15.71%
Simulation search_index_mixed_out_of_range_chunked 1.5 ms 1.3 ms +15.27%
Simulation search_index_full_range_random_chunked 1.6 ms 1.4 ms +13.51%
Simulation compare[6] 79.3 µs 70 µs +13.31%
Simulation compare[6] 79 µs 69.8 µs +13.11%
Simulation compare[6] 80.7 µs 71.4 µs +12.94%
Simulation compare[5] 75.9 µs 68.5 µs +10.83%
... ... ... ... ... ...

ℹ️ 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 adamg/buffer-slice-fast (ae9bc12) with develop (3d7bbfb)

Open in CodSpeed