Skip to content

Update Rust crate divan to v6 - #15607

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

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

Conversation

@renovate

@renovate renovate Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
divan (source) workspace.dependencies major 5.0.0 → 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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Whenever PR becomes conflicted, 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.

@xtqqczze

Copy link
Copy Markdown
Collaborator

Duplicate of #15602.

@xtqqczze xtqqczze closed this Oct 21, 2026
@renovate

renovate Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/divan-6.x branch October 21, 2026 18:40
@codspeed

codspeed Bot commented Oct 21, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 62.71%

2 warnings, 1 note

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

⚠️ Base and head ran on different runner types

Some benchmarks with significant performance changes were compared across different runner types, so the changes might not come from the code. Run base and head on the same runner type, or use CodSpeed Macro Runners for more stable results.

Learn more about Macro Runners

Open the report in CodSpeed to investigate

ℹ️ 1 benchmark has no flamegraph

The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

See affected benchmarks

⚡ 9 improved benchmarks
❌ 156 regressed benchmarks
✅ 236 untouched benchmarks
⏩ 70 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ CPU Simulation single_date_now 181.8 µs 3,212.5 µs -94.34%
❌ Memory factor_multiple_u64s[2] 5.6 KB 91.5 KB -93.85%
❌ Memory factor_64bit_semiprime 5.7 KB 91.6 KB -93.81%
❌ Memory factor_large_u64_prime 5.7 KB 91.6 KB -93.8%
❌ Memory single_date_now 15.6 KB 230.1 KB -93.2%
❌ Memory complex_relative_date 16.8 KB 231.2 KB -92.72%
❌ Memory file_iso_dates 19.6 KB 231.1 KB -91.51%
❌ Memory file_custom_format 20.1 KB 231.6 KB -91.3%
❌ Memory b64_encode_synthetic 8.5 KB 94.4 KB -91.03%
❌ Memory hostname_ip_lookup[100000] 9.1 KB 96.9 KB -90.57%
❌ Memory seq_integers 9.5 KB 95.4 KB -90.02%
❌ Memory seq_with_step 9.6 KB 95.5 KB -89.98%
❌ Memory seq_formatted 10 KB 95.9 KB -89.53%
❌ CPU Simulation complex_relative_date 386.2 µs 3,312.7 µs -88.34%
❌ Memory factor_three_39_bit_primes 13.6 KB 99.5 KB -86.34%
❌ Memory factor_a_prime_to_the_seventh 14.9 KB 101.2 KB -85.24%
❌ Memory wc_default_large_line_count[100000] 16.6 KB 102.5 KB -83.83%
❌ Memory wc_bytes_lines_synthetic[2000] 16.6 KB 102.5 KB -83.83%
❌ Memory wc_lines_large_line_count[500000] 16.6 KB 102.5 KB -83.83%
❌ Memory wc_words_synthetic[2000] 16.6 KB 102.5 KB -83.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 renovate/divan-6.x (8cab90e) with main (4939cd4)2

Open in CodSpeed

Footnotes

  1. 70 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. ↩

  2. No successful run was found on main (2fb0d76) during the generation of this report, so 4939cd4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant