Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More rustfmt hang investigations #19080

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Feb 2, 2025

We desperately need to build better perf monitoring infra, the RA_PROFILE setup is honestly quite useless

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 2, 2025
@Veykril Veykril enabled auto-merge February 2, 2025 09:06
@Veykril Veykril added this pull request to the merge queue Feb 2, 2025
Merged via the queue into rust-lang:master with commit f3998f7 Feb 2, 2025
9 checks passed
@Veykril Veykril deleted the push-wlqsvqsksupr branch February 2, 2025 09:35
let vfs = &mut self.vfs.write().0;

let vfs = &self.vfs.read().0;
Copy link
Member Author

Choose a reason for hiding this comment

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

This could've caused some requests (including formatting) to wait on acquiring their read lock when we were recreating the crate graph. This was needed to be a write lock before, but we've since changed the loading behavior here, so this is no longer the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants