Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Change Warmup in Harnesses to simply disregard measurements #249
To avoid interference with benchmark execution, warmup should not be done separately from the main loop. Instead, it should be simply discarding measurements for the aggregate statistic.
This PR removes the extra warmup loops, and instead does not add the result of a run to the total as long as warmup is not completed.