Skip to content

Update Rust crate divan to v6 - #2304

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/divan-6.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/divan-6.x

Conversation

@renovate

@renovate renovate Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
divan (source) dev-dependencies major 5.0.3 → 6.0.0

Release Notes

CodSpeedHQ/codspeed-rust (divan)

v6.0.0

Compare Source

CodSpeed for Rust 6.0.0 removes a source of measurement noise from your CPU Simulation benchmarks, so you can spend less time investigating unexpected changes in unrelated results.

Highlights

Your Divan and Criterion benchmarks now run in separate processes. Changes to one benchmark no longer carry allocator state into the benchmarks that follow it, improving consistency as your benchmark suite evolves.

Early results showed lower run-to-run variance, with roughly 70% fewer benchmarks varying by more than 1%.
No benchmark code changes required. Your WallTime results are unaffected.

Breaking Changes
  • Some benchmark values may shift when you upgrade
  • Each benchmark adds small process startup overhead to the run

Set CODSPEED_PROCESS_ISOLATION=false to revert to the previous behavior.

What's Changed

Full Changelog: CodSpeedHQ/codspeed-rust@v5.0.3...v6.0.0


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d8ab8016-1529-4251-b982-ac4181d90481

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codeant-ai

codeant-ai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Skipping PR review because a bot author is detected.

If you want to trigger CodeAnt AI, comment @codeant-ai review to trigger a manual review.

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed

codspeed Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Merging this PR will regress 4 benchmarks

3 warnings

⚠️ 5 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 14 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚠️ 14 benchmarks with a significant change ran on a different major version of their CodSpeed integration

Their head results were measured with codspeed-rust 6.0.0, a different major version than their base results. A major version can change how benchmarks are measured, so the changes might come from this version difference rather than from the code. Comparisons between runs on the same major version are not affected.

See affected benchmarks

⚡ 10 improved benchmarks
❌ 4 regressed benchmarks
✅ 69 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ quote_short_ids[10] 71.3 µs 120.5 µs -40.8%
❌ quote_short_ids[1000] 5.2 ms 6.5 ms -20.46%
❌ crypto_encrypt[4096] 96.6 µs 109.6 µs -11.86%
❌ subscription_percent_decode[1000] 13 µs 14.7 µs -11.81%
⚡ merge_strip_secret[10] 8.8 µs 7.3 µs +20.94%
⚡ merge_strip_secret[1000] 8.9 µs 7.4 µs +19.96%
⚡ merge_strip_secret[100] 8.9 µs 7.4 µs +19.69%
⚡ parse_config_yaml[10] 1.5 ms 1.3 ms +15.83%
⚡ decode_base64_subscription[10] 1.6 ms 1.4 ms +15.49%
⚡ merge_yaml_patch 15.4 µs 13.4 µs +15.08%
⚡ smart_score[10] 30.3 µs 26.4 µs +14.89%
⚡ prism_normalize[10000] 15.4 ms 13.5 ms +14.38%
⚡ tun_update[10] 2 ms 1.8 ms +12.13%
⚡ tun_inject_fd[10] 2 ms 1.8 ms +10.95%

Tip

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


Comparing renovate/divan-6.x (a68d48f) with main (60dbc7d)

Open in CodSpeed

@renovate
renovate Bot force-pushed the renovate/divan-6.x branch 3 times, most recently from 3df1c48 to 20d6890 Compare November 6, 2026 04:11
@renovate
renovate Bot force-pushed the renovate/divan-6.x branch from 20d6890 to a68d48f Compare November 6, 2026 04:47
@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants