Skip to content

Add slicing benchmarks for vortex-buffer#8323

Merged
connortsui20 merged 1 commit into
developfrom
adamg/buffer-slicing-bench
Jun 9, 2026
Merged

Add slicing benchmarks for vortex-buffer#8323
connortsui20 merged 1 commit into
developfrom
adamg/buffer-slicing-bench

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a basic benchmark for slicing, including an Arrow baseline. Hopefully building up to #8322, but I want a baseline first.

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS requested a review from a team June 9, 2026 19:10
@AdamGS AdamGS added the changelog/chore A trivial change label Jun 9, 2026
@codspeed-hq

codspeed-hq Bot commented Jun 9, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 25.4%

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

⚡ 6 improved benchmarks
✅ 1517 untouched benchmarks
🆕 3 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_bool_canonical_into[(1000, 10)] 46.7 µs 31.8 µs +46.95%
Simulation bitwise_not_vortex_buffer_mut[128] 275.3 ns 216.9 ns +26.89%
Simulation chunked_varbinview_canonical_into[(1000, 10)] 197.9 µs 161.8 µs +22.34%
Simulation bitwise_not_vortex_buffer_mut[1024] 336.9 ns 278.6 ns +20.94%
Simulation chunked_varbinview_into_canonical[(1000, 10)] 213.6 µs 177.3 µs +20.42%
Simulation bitwise_not_vortex_buffer_mut[2048] 400.6 ns 342.2 ns +17.05%
🆕 Simulation slice_empty_vortex N/A 2.7 µs N/A
🆕 Simulation slice_tight_loop_arrow[65536] N/A 34.2 µs N/A
🆕 Simulation slice_tight_loop_vortex[65536] N/A 58.9 µs N/A

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing adamg/buffer-slicing-bench (6a4e697) with develop (a038963)

Open in CodSpeed

@connortsui20 connortsui20 enabled auto-merge (squash) June 9, 2026 19:20
@connortsui20 connortsui20 merged commit 4b6c382 into develop Jun 9, 2026
76 of 79 checks passed
@connortsui20 connortsui20 deleted the adamg/buffer-slicing-bench branch June 9, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants