Skip to content

Simplify handling of self-profile data in collector #1781

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

Merged
merged 7 commits into from
Jan 9, 2024

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Dec 23, 2023

This PR performs several changes to the way we handle self-profile files in the collector, in order to simplify it:

  • Self-profile data handling is moved from rustc-fake to collector.
  • Instead of invoking the summarize binary, the analyzeme crate is used directly to parse the self-profile results.
  • Handling of the old "3 file format" self-profile data was removed. This format cannot be read by analyzeme since 2020, so even if we were able to upload this format to S3 from the collector (for some veeeery old rustc versions), it could not be read by the site, which uses the stable version of analyzeme (currently 0.11).
  • The measureme binaries are no longer installed on the collector, since the binaries are no longer used during benchmarking.

@michaelwoerister
Copy link
Member

I don't really know this code -- but looking through the diff the changes make sense to me.

@Kobzol Kobzol force-pushed the measureme-modifications branch from 5b0e9b9 to 7dd7436 Compare January 8, 2024 13:12
@Kobzol Kobzol merged commit adad86a into rust-lang:master Jan 9, 2024
@Kobzol Kobzol deleted the measureme-modifications branch January 9, 2024 10:36
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