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

Ensure to always run at least 1 iteration for both warmup and for measurement #121

Merged
merged 3 commits into from
Jan 17, 2022

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Jan 17, 2022

Also: Reduce the time needed to runs the tests

  • From about 80s to 35s.

cc @ivoanjo @nateberkopec

…surement

* Fixes evanphx#120
* Using do-while loops to ensure the loops run at least once.
@eregon
Copy link
Contributor Author

eregon commented Jan 17, 2022

I moved the CI to GitHub Actions since TravisCI no longer works.

ruby-head fails probably due to too old rake, I'll just drop it for now to not add too many changes in this PR: https://github.com/eregon/benchmark-ips/runs/4840536252?check_suite_focus=true
And I test on Ubuntu only since it's fairly slow and unreliable on macOS (TravisCI also tested only on Ubuntu).

@eregon
Copy link
Contributor Author

eregon commented Jan 17, 2022

@nateberkopec
Copy link
Collaborator

I moved the CI to GitHub Actions since TravisCI no longer works.

Wow, thank you so much for that!

@nateberkopec nateberkopec merged commit 51d2475 into evanphx:master Jan 17, 2022
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.

Paper cut: FloatDomainError: Infinity if warmup period is "small enough"
2 participants