Skip to content

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

Merged
nateberkopec merged 3 commits intoevanphx:masterfrom
eregon:fix-min-one-iteration
Jan 17, 2022
Merged

Ensure to always run at least 1 iteration for both warmup and for measurement#121
nateberkopec merged 3 commits intoevanphx:masterfrom
eregon:fix-min-one-iteration

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 eregon force-pushed the fix-min-one-iteration branch from 10d86a4 to 7cd6884 Compare January 17, 2022 12:16
@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