Skip to content

Fixed baselines between Debug and Release builds #5068

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 4 commits into from
Apr 29, 2020

Conversation

mstfbl
Copy link
Contributor

@mstfbl mstfbl commented Apr 29, 2020

Most baselines in SingleDebug and SingleRelease test baseline folders are differing in fields that are not actively compared. Remaining baselines are differing in certain log-loss reduction values at the 10^-5'th digit, due to how the Release compiler does not round up or down values.

This PR handles such baselines by removing them from SingleDebug and SingleRelease folders, and by adding to Common folder. This PR also removes the checking of SingleDebug and SingleRelease folders in BaseTestBaseline.GetBaselinePath().

@mstfbl
Copy link
Contributor Author

mstfbl commented Apr 29, 2020

Commit 9ad6989 successfully got rid of baselines that were differing in un-checked metrics. Commit 85dab51 and 1d80e35 replaces remaining baselines with those of SingleRelease baselines, as in my research the SingleRelease bechmarks are accurate and have passed on my local machine. However, if they doesn't pass on CLI, I will revert the last 2 commits.

Update: As expected, this is passing on CI too. Therefore, this PR fixes all differing debug vs. release benchmark issues.

@mstfbl mstfbl marked this pull request as ready for review April 29, 2020 07:57
@mstfbl mstfbl requested a review from a team as a code owner April 29, 2020 07:57
@mstfbl mstfbl marked this pull request as draft April 29, 2020 08:32
Copy link
Contributor

@harishsk harishsk left a comment

Choose a reason for hiding this comment

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

:shipit:

@mstfbl mstfbl marked this pull request as ready for review April 29, 2020 19:03
@mstfbl mstfbl merged commit 096d294 into dotnet:master Apr 29, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants