FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build(deps): bump which from 8.0.5 to 8.0.6 by dependabot[bot] · Pull Request #8978 · RustPython/RustPython · GitHub

Repository navigation

build(deps): bump which from 8.0.5 to 8.0.6 - #8978

Merged
youknowone merged 1 commit into
mainfrom
dependabot/cargo/which-8.0.6
Oct 6, 2026
Merged

youknowone merged 1 commit into
mainfrom
dependabot/cargo/which-8.0.6

Conversation

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps which from 8.0.5 to 8.0.6.

Release notes

Sourced from which's releases.

8.0.6

What's Changed

New Contributors

Full Changelog: harryfei/which-rs@8.0.5...8.0.6

Changelog

Sourced from which's changelog.

8.0.6

  • Bug fix: #128 Resolve relative PATH entries against the user provided CWD when available, rather than the process CWD. Thanks @​RSS1102 for your contribution to which!
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [which](https://github.com/harryfei/which-rs) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](harryfei/which-rs@8.0.5...8.0.6)

---
updated-dependencies:
- dependency-name: which
  dependency-version: 8.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 5, 2026

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

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

⚙️ Run configuration
  • Configuration used: Repository: RustPython/RustPython/.coderabbit.yml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f177f27e-1ff8-4667-a9ba-a3a66dbe2c40

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
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

codspeed Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 11.1%

⚡ 1 improved benchmark
✅ 61 untouched benchmarks
⏩ 4 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ rustpython[loop_string.py] 936.6 µs 843 µs +11.1%

Tip

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


Comparing dependabot/cargo/which-8.0.6 (da49a23) with main (3e0e401)

Footnotes

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

fanninpm commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

@codspeedbot explain why performance improved

codspeed Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

@codspeedbot explain why performance improved

Why rustpython[loop_string.py] improved by 11.1%

Short answer: it's measurement noise, not a real speedup. The which bump didn't cause it. The PR head is at the usual level for this benchmark, and the main baseline it was compared against (3e0e401) happened to be a slow run.

This PR doesn't touch the benchmarked code

  • The only change is Cargo.lock (which 8.0.5 → 8.0.6).
  • which has one caller: host_env::fs::which, used by getpath.rs to find the executable when the interpreter starts. That runs outside the measured routine. loop_string.py only iterates over a string (for char in string: pass).

This benchmark moves around on main too

Recent main commits, measured in Simulation mode:

Commit loop_string.py
5b5c0c7 843.6 µs
55f7abb 846.9 µs
54e119d 917.7 µs
3d1c174 861.6 µs
052549a 845.5 µs
3e0e401 (base) 936.6 µs
da49a23 (this PR) 843.0 µs

The PR head matches the usual ~845 µs. The base is the highest value in the window.

Where the difference shows up in the profile

Comparing the two flamegraphs, almost all of the 93.6 µs difference is in one function:

Function Base (total / self) Head (total / self)
Dict::lookup 178.7 / 121.0 µs 85.4 / 62.7 µs

Everything else is identical to within a few hundred ns, including ExecutingFrame::run self time, execute_for_iter, PyStrIterator and hash_or_unhashable. Dict::lookup here runs inside STORE_NAME for the loop variable char, which is written into the module globals dict on every iteration.

Root cause: the string hash seed is random in each run

benches/microbenchmarks.rs builds the interpreter from Settings::default(), which leaves hash_seed: None. init_hash_secret then picks a random hash secret for each process, so the hash of "char" changes from run to run. That changes how far the lookup has to probe in the globals dict before it finds the key. Some runs land on a longer chain, and since that lookup happens on every loop iteration, a few extra probes show up as about 10% on this benchmark. The base and head differ in cache cost as well as instruction count, which also points to the dict layout rather than any code change.

Suggested fix (not applied here)

To make dict-heavy microbenchmarks repeatable, pin the seed in the bench harness:

// benches/microbenchmarks.rs (and benches/execution.rs)
let mut settings = Settings::default();
settings.hash_seed = Some(0);

I haven't pushed this, because it doesn't belong in a Dependabot PR. I can open a separate PR for it if you'd like.

Verdict: this PR has no performance impact either way and is safe to merge.

Comparison on CodSpeed

Summary
  • Warming up the performance wizard...
  • Handling comment — Comment handling finished successfully

Learnings updated. See what CodSpeed remembers about this repository.

Was this response helpful? React with 👍 or 👎 to help us improve CodSpeedBot.

fanninpm commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

@youknowone see above

youknowone merged commit 3b881b6 into main Oct 6, 2026
80 of 84 checks passed
youknowone deleted the dependabot/cargo/which-8.0.6 branch October 6, 2026 14:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL