Closed filiphr closed 5 years ago
Nice work @filiphr. I've subscribed to the waitlist for the GitHub Actions Beta.
I see that the benchmark_results
and the results
archives could be downloaded from the Download artifacts
menu.
We may go further by automatically pushing the results to the repo (without relaunching the benchmark).
On the other hand, by launching the microbenchmark by a CI, we don't manage the CPU and the RAM allocated to the bench. Moreover, they may be shared with other builds. Results will not be reliable. Isn't it?
Thanks @arey, glad that you liked it.
We may go further by automatically pushing the results to the repo (without relaunching the benchmark).
I was thinking about this as well, I even found an action that would allow you to do the commit you need. However, I noticed that sometimes the numbers were off. I couldn't find the CPU and RAM allocated to the jobs for the Github actions, so it could be unreliable. What we could do though is to pass -Xmx when running it, not sure if that might make it more reliable.
We could also print some system information for each microbenchmark.
Hi @filiphr I've now access to the beta. On my account, the build is failling while gnuplopt installation. Do you have any idea? https://github.com/arey/java-object-mapper-benchmark/runs/265133955
It was failing on mine as well. Figured out the problem and created a new PR https://github.com/arey/java-object-mapper-benchmark/pull/24.
Thank you @filiphr. It's re-working.
I managed to find the hardware resource resources for the runners.
Each virtual machine has the same hardware resources available.
2 core CPUs 7 GB of RAM memory 14 GB of SSD disk space
More information can be found here
The DSv2-series link references that runners runs on the Intel® Xeon® 8171M 2.1GHz (Skylake) or the the Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors with Intel Turbo Boost Technology 2.0 and use premium storage.
With the Add & Commit
plugin, we could mix those informations with command line like lscpu
? Do yoy wanna try?
This is an idea how the results could be automatically generated by a CI.
It uses GitHub Actions which is currently in Beta, but you can request access to it. I think they are accepting everyone really fast.
The PR consists of 3 commits:
If you want to see how it looks you can have a look in the actions from my fork