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

fix >5s quick mode crash, resolve #658 #685

Merged
merged 2 commits into from May 26, 2023

Conversation

KonradHoeffner
Copy link
Contributor

@KonradHoeffner KonradHoeffner commented May 25, 2023

When using quick mode without "--noplot", any benchmark running over 5 seconds will lead to a crash. This commit fixes this problem by adding a very small amount (currently 0.000001) to the second of the two elapsed times (that will not be reported due to rounding) in order to work around the gnuplot crash. See #658.
The issue occurred because of the original workaround which passes a single measurement twice to get a valid vector with two elements as an early exit for long running benchmarks.

When using quick mode without "--noplot", any benchmark running over 5 seconds will lead to a crash.
This commit fixes this problem by adding a very small amount (that will not be reported due to rounding) in order to work around the gnuplot crash.
See <bheisler#658>.
@lemmih
Copy link
Collaborator

lemmih commented May 26, 2023

Could you update the CHANGELOG as well with a short note? Thanks.

@KonradHoeffner
Copy link
Contributor Author

Sure!

@KonradHoeffner
Copy link
Contributor Author

@lemmih I updated the changelog.

@lemmih lemmih merged commit bfc84ad into bheisler:master May 26, 2023
5 checks passed
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.

None yet

2 participants