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

Make fraction chart relative to its corresponding artifact #1775

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Dec 18, 2023

Before, it was normalized w.r.t. the longest artifact (duration), which was not very intuitive.
image

Before, it was being normalized w.r.t. the longest total duration between the before/after artifact, but that was confusing. Now the chart just shows the relative duration w.r.t. its corresponding artifact.
@Kobzol Kobzol requested a review from lqd December 18, 2023 19:00
Copy link
Member

@lqd lqd left a comment

Choose a reason for hiding this comment

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

Cool!

I still wonder if we should normalize the after percentages to the before total duration, to be able to compare these relative sections.

@Kobzol Kobzol merged commit 2d336b1 into rust-lang:master Dec 19, 2023
10 checks passed
@Kobzol Kobzol deleted the fraction-chart-relative branch December 19, 2023 10:48
@Kobzol
Copy link
Contributor Author

Kobzol commented Dec 19, 2023

I still wonder if we should normalize the after percentages to the before total duration, to be able to compare these relative sections.

I think that for any normalization across different artifacts, we should just add another chart. It seems to me that mix/matching this in a single chart just leads to confusion.

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