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

Handle new self-profiling information for incr-comp hash fingerprints #166

Merged
merged 2 commits into from
Jul 22, 2021

Conversation

rylev
Copy link
Member

@rylev rylev commented Jun 25, 2021

Relies on changes in rust-lang/rust#86619 where you can read a bit more about the goals of this change.

Putting into draft mode until rust-lang/rust#86619 is more fully discussed.

Copy link
Member

@michaelwoerister michaelwoerister left a comment

Choose a reason for hiding this comment

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

I left a comment on how to timing adjustments for the new event.

summarize/src/main.rs Outdated Show resolved Hide resolved
summarize/src/analysis.rs Outdated Show resolved Hide resolved
@rylev
Copy link
Member Author

rylev commented Jul 16, 2021

This should be ready, but leaving it as a draft since it relies on the changes to rustc landing first.

@michaelwoerister michaelwoerister marked this pull request as ready for review July 21, 2021 15:00
@michaelwoerister
Copy link
Member

I think this is ready to be merged, right? There is no harm in being able to handle the new events before those events actually get generated. Correct me if I'm wrong, @rylev :)

r? @wesleywiser

@rylev
Copy link
Member Author

rylev commented Jul 21, 2021

This is ready to review. I marked it as work-in-progress, because I wasn’t sure if the support in rustc needed to land first. Either way that support is being merged, so it’s fine to mark this as ready to review.

bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 22, 2021
…ywiser

Profile incremental compilation hashing fingerprints

Adds profiling instrumentation for the hashing of incremental compilation fingerprints per query.

This will eventually feed into the `measureme` and `rustc-perf` infrastructure for tracking if computing hashes changes over time.

TODOs:
* [x] Address the FIXME where we are including node interning in the hash timing.
* [ ] Update measureme/summarize to handle this new data: rust-lang/measureme#166
* [ ] ~Update rustc-perf to handle the new data from measureme~ (will be done at a later time)

r? `@ghost`

cc `@michaelwoerister`
@wesleywiser wesleywiser merged commit ca49d9e into rust-lang:master Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants