-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Disable path trimming during graphviz output #109954
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
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Yeah, this is fine. Full paths are possibly better than trimmed ones here... Alternatively, we could defuse the delayed good-path bug if we know that we'll be emitting a graphviz file, like all the other rust/compiler/rustc_session/src/session.rs Lines 673 to 680 in 6032700
Thoughts? Otherwise, r=me. @bors delegate+ |
✌️ @clubby789 can now approve this pull request |
Hmm, we can check there if we've asked for graphs on the command line but I don't see an easy way to check for the linked case, where it's being emitted due to an attribute (other than adding some |
Reasonable enough @bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (a412564): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Fixes #109943
We can end up pretty-printing a path for the graphviz file without emitting a diagnostic, so disable path trimming at this point.