Skip to content

Change wording in perf summary PR comment to expose the used aggregation statistic #1180

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 1 commit into from
Feb 24, 2022

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Feb 23, 2022

@nnethercote mentioned that the wording is quite opaque ("average"), as it didn't mention what kind of average it is. I suggest to change the wording from "average" to "arithmetic mean" (possibly geometric mean in the future if we change the calculation). I used the same wording in the compare site summary tooltip (#1179).

@nnethercote
Copy link
Contributor

This is a nice change, it adds precision. I also wonder if we should give the arithmetic mean of all changes? Averaging the regressions and improvements separately feels a bit strange to me.

I.e. add a line "Arithmetic mean of all relevant changes: ..."

Or possibly combine the three lines into one, something like: "Arithmetic means of relevant changes: N% (all), P% (improvements), Q% (regressions)"?

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 23, 2022

I think that it would be better readable on separate lines. I like the idea with the average of all changes, sometimes on first look it's not apparent what's the overall direction/magnitude of the change.

@nnethercote nnethercote merged commit 5d9e294 into rust-lang:master Feb 24, 2022
@Kobzol Kobzol deleted the summary-wording branch February 25, 2022 07:19
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