Skip to content

Align data buffers in fastlanes benchmarks#8393

Open
AdamGS wants to merge 1 commit into
developfrom
adamg/align-buffers-benchmarks
Open

Align data buffers in fastlanes benchmarks#8393
AdamGS wants to merge 1 commit into
developfrom
adamg/align-buffers-benchmarks

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

An experiment to align the packed buffers in the benchmarks to try and reduce some of the noise around the compare benchmark. If this works maybe its a path towards more consistent benchmarks?

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS added the changelog/chore A trivial change label Jun 12, 2026
@codspeed-hq

codspeed-hq Bot commented Jun 12, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 12.75%

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

⚡ 2 improved benchmarks
❌ 11 regressed benchmarks
✅ 1515 untouched benchmarks
⏩ 10 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation baseline_lt[16, 65536] 219.3 µs 304.8 µs -28.04%
Simulation baseline_eq[4, 65536] 186.9 µs 244.4 µs -23.53%
Simulation baseline_lt[4, 65536] 202.6 µs 259.6 µs -21.97%
Simulation baseline_eq[16, 65536] 231.8 µs 289.4 µs -19.89%
Simulation fast_lt_out_of_range[16, 65536] 120.5 µs 148.4 µs -18.8%
Simulation compare[12] 115.9 µs 136.5 µs -15.15%
Simulation varbinview_large 112.9 µs 131.5 µs -14.14%
Simulation decompress_rd[f64, (100000, 0.01)] 845.9 µs 981.5 µs -13.82%
Simulation decompress_rd[f64, (100000, 0.1)] 845.9 µs 981.5 µs -13.82%
Simulation compare[8] 105 µs 118.3 µs -11.25%
Simulation compare[10] 135.9 µs 152.9 µs -11.1%
Simulation decompress_rd[f64, (100000, 0.0)] 1,024.6 µs 845.8 µs +21.14%
Simulation decompress_rd[f32, (100000, 0.0)] 586.8 µs 499.3 µs +17.53%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing adamg/align-buffers-benchmarks (3abc40b) with develop (37ae2d7)

Open in CodSpeed

Footnotes

  1. 10 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.

@AdamGS AdamGS requested a review from joseph-isaacs June 12, 2026 20:52
@AdamGS AdamGS marked this pull request as ready for review June 12, 2026 20:52
@AdamGS AdamGS requested a review from a team June 12, 2026 20:52
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.

1 participant