actuarialopensource / benchmarks

Some performance tests for actuarial applications
MIT License
14 stars 4 forks source link

make jobs run sequentially to reduce benchmark interference #56

Closed alecloudenback closed 6 months ago

MatthewCaseres commented 6 months ago

Reasons I hesitate to merge

CI Time

CI time is a bit painful at the moment. This PR takes CI time from 5 minutes to 10 minutes.

Uncertainty of benefits

I don't know the exact mechanics behind how parallel runs work. Do they happen on the same machine, on multiple machines with the same specs, are other people on the same running their cloud actions regardless of if I am running mine in parallel?

I have observed the relative orders to be generally stable in the current approach. We can do some historical analysis and verify this if it is a concern.

Desire to eventually run on dedicated hardware

Ideally all benchmarks are run on dedicated hardware. And we would test across a variety of platforms. This is not cost effective or practical to run these variety of dedicated hardware in GitHub actions.

I imagine an annual performance testing event. In that case, the README will start with the results of the annual test and then below will be the preliminary tests for the upcoming year that ran in the CI. I feel the CI is just a nice way to say "the code runs".

alecloudenback commented 6 months ago
MatthewCaseres commented 6 months ago

I'm convinced