Convert benchmark tests to unit tests
Closed this issue · 1 comments
introfog commented
Need to add a way to check benchmark tests, because now they are not checked by the github and you can easily forget to check it yourself, and you need to remember the previous values somehow, in order to understand whether something has changed in performance.
introfog commented
I tried a lot of things, but failed to achieve similar results when testing on GitHub Action.
It is also probably not very good that in the BenchmarkResult class, for small values of the expected difference, I increase the difference.
In general, I'm tired of this inconsistency in benchmark testing, and while I close the task as is, testing so far only works well on my computer.