-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Postpone HirIdification until HirId functions are optimized #58376
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
Cc @Zoxc |
@bors try |
Postpone HirIdification until HirId functions are optimized Perf took a pretty big hit today and I'm suspecting that one of the HirIdification methods might be the cause, because they aren't optimized yet (some of them convert `HirId` to `NodeId` and call the old `NodeId` function for now). If this is indeed the cause, we will want to optimize these functions before using them. Can I get a try+perf run?
☀️ Test successful - checks-travis |
@rust-timer build fdfb126 |
Success: Queued fdfb126 with parent 57d7cfc, comparison URL. |
Finished benchmarking try commit fdfb126 |
r=me with a vengeance if you feel it's ready to do so, that's a hell of a lot of green. Can you take the lead on investigating the perf hit? That being said, in the diff I see a couple of places that are only hot if there has been an error. Those cases could probably be kept without reverting (thinking of https://github.com/rust-lang/rust/pull/58376/files#diff-9d22f4d35c9bd98748f3e1a7cda1b3e7 and https://github.com/rust-lang/rust/pull/58376/files#diff-a4796471067f8f3d7549cb74eca68a4e). |
@bors r- This is likely due to #58085 (@Mark-Simulacrum just turned this off on perf, which would explain the perf result here) |
@Zoxc yep, the perf including these commits is green again. Whew ^^. |
Perf took a pretty big hit today and I'm suspecting that one of the HirIdification methods might be the cause, because they aren't optimized yet (some of them convert
HirId
toNodeId
and call the oldNodeId
function for now). If this is indeed the cause, we will want to optimize these functions before using them.Can I get a try+perf run?