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

Add a chart showing individual compilation parts to benchmark detail #1749

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Nov 17, 2023

So that we have a better idea of how much time is spent in frontend/backend/linking, and also how are these fractions changed by individual PRs. The data is loaded from self-profile files and it's calculated based on time spent in individual self-profile queries. There is currently a super rough heuristic that tries to estimate into which part does a query belong.

sections

@Kobzol Kobzol force-pushed the fraction-chart branch 3 times, most recently from 4aa168c to 138dad3 Compare December 1, 2023 14:11
@Kobzol
Copy link
Contributor Author

Kobzol commented Dec 7, 2023

I separated the endpoints for the graphs and for the compilation sections, so that the (slow) section loading doesn't slow down the loading of the graphs.

A separate endpoint was created, because loading the sections requires loading self-profile data, which can be quite slow.
Making it a separate endpoint won't block loading of the graphs, which are loaded quite fast.
@Kobzol Kobzol merged commit 42e9168 into rust-lang:master Dec 8, 2023
10 checks passed
@Kobzol Kobzol deleted the fraction-chart branch December 8, 2023 08:26
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.

2 participants