Uh oh!
There was an error while loading. Please reload this page.
self-profiling: Add events for everything except trait selection. - #65208
Conversation
Mark-Simulacrum
commented
Oct 8, 2019
Just to make sure -- this won't run into the problem we hit earlier with non-contained events, right? I think the answer is no, because all added events are scope-specific. But I'd like to ask to make sure. r=me modulo that concern |
There was a problem hiding this comment.
I could be wrong -- but I think we already have events with spaces in them, in which case this can probably be nicer if we just use spaces directly (both in this event and generally).
There was a problem hiding this comment.
Yeah, we do. Unless there's a strong reason to use underscores (for instance, if this activity was just the name of the enclosing function), I'd recommend using spaces as well.
There was a problem hiding this comment.
I'm not sure. In my opinion it's more like: unless there is a strong reason for doing otherwise, it's better to keep any kind of identifiers as simple as possible (e.g. allowing only things that would also make valid Rust identifiers). Otherwise one might end up with headaches down the road, like having to weirdly escape things in commandline strings, or not knowing if trailing whitespace is significant or not. The identifiers emitted here will go through various processing tools (many of which we don't now about yet). I'd rather keep things simple.
There was a problem hiding this comment.
cgu partitioning: place roots perhaps?
bors
commented
Oct 9, 2019
☔ The latest upstream changes (presumably #65223) made this pull request unmergeable. Please resolve the merge conflicts. |
wesleywiser
commented
Oct 9, 2019
@bors r+ |
bors
commented
Oct 9, 2019
📌 Commit 38e0b5c15d4195be42298cb361316c4c350da957 has been approved by |
wesleywiser
commented
Oct 9, 2019
Woops... missed the merge conflict message. @bors r- r=me with merge resolved |
michaelwoerister
commented
Oct 9, 2019
Yes, the RAII-based API should make sure that something like that can't happen. |
38e0b5c to
ceb1a9cComparemichaelwoerister
commented
Oct 9, 2019
@bors r=wesleywiser |
bors
commented
Oct 9, 2019
📌 Commit ceb1a9c has been approved by |
michaelwoerister
commented
Oct 9, 2019
Thanks for the review! |
bors
commented
Oct 9, 2019
…iser self-profiling: Add events for everything except trait selection. This is the followup PR to #64840. Trait selection events are still missing (at least those not covered by regular queries). r? @wesleywiser (or @Mark-Simulacrum if @wesleywiser is not available at the moment)
bors
commented
Oct 9, 2019
☀️ Test successful - checks-azure |
This is the followup PR to #64840.
Trait selection events are still missing (at least those not covered by regular queries).
r? @wesleywiser (or @Mark-Simulacrum if @wesleywiser is not available at the moment)