Skip to content

Refactor handling of historical data #1266

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 3 commits into from
Apr 4, 2022

Conversation

rylev
Copy link
Member

@rylev rylev commented Apr 1, 2022

This refactor came from realizing that we weren't using the BenchmarkVarianceDescription at all and that what we were calling BenchmarkVariances is actually just historical data we use for many different calculations (some related to variance and others not).

We now more appropriately label this data as "historical" which makes the code much easier to read.

I also updated the glossary to remove terms for concepts we don't use any more and added terms for things we do use.

Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Great, it is indeed now much more readable, I was looking for some notion of historical data in the code and the name "variance" was quite confusing.

@rylev rylev force-pushed the historical-data-refactor branch from 0ecfedb to de6f7b0 Compare April 4, 2022 08:36
@rylev rylev enabled auto-merge April 4, 2022 08:38
@rylev rylev merged commit bab9355 into rust-lang:master Apr 4, 2022
@rylev rylev deleted the historical-data-refactor branch April 4, 2022 08:51
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