Skip to content

don't account array deallocation in random access bench#8160

Open
myrrc wants to merge 1 commit into
developfrom
myrrc/random-access-no-drop
Open

don't account array deallocation in random access bench#8160
myrrc wants to merge 1 commit into
developfrom
myrrc/random-access-no-drop

Conversation

@myrrc
Copy link
Copy Markdown
Contributor

@myrrc myrrc commented May 29, 2026

No description provided.

Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
@myrrc myrrc requested a review from joseph-isaacs May 29, 2026 15:57
@myrrc myrrc added the changelog/chore A trivial change label May 29, 2026
@myrrc myrrc enabled auto-merge (squash) May 29, 2026 15:57
Comment on lines +250 to 252
let _arr = accessor.take(indices).await?;
runs.push(start.elapsed());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we explicitly drop the array after start.elapsed()

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 29, 2026

Merging this PR will not alter performance

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

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 1264 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_varbinview_opt_canonical_into[(1000, 10)] 225.4 µs 188.1 µs +19.84%
Simulation chunked_varbinview_canonical_into[(100, 100)] 273.1 µs 307.8 µs -11.27%

Tip

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


Comparing myrrc/random-access-no-drop (aab2c6a) with develop (30103b8)

Open in CodSpeed

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