evanphx / benchmark-ips

Provides iteration per second benchmarking for Ruby
MIT License
1.72k stars 97 forks source link

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

Closed eregon closed 2 years ago

eregon commented 2 years ago

Also: Reduce the time needed to runs the tests

cc @ivoanjo @nateberkopec

eregon commented 2 years ago

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 commented 2 years ago

Passing run: https://github.com/eregon/benchmark-ips/actions/runs/1707890584

nateberkopec commented 2 years ago

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

Wow, thank you so much for that!