When I write my solution on the top of the other solutions the winner becomes my solution.
| Code |
Result |
 |
 |
But if I write my solution after others the winner is changing.
| Code |
Result |
 |
 |
Even if I write my solution twice the results are different.
| Code |
Result |
 |
 |
The results actually can be normal because of the behavior of this kind of performance analysis. I'm just wondering these tests are reliable.
Maybe the usage of Benchmark.prototype.hz is wrong 🤔
When I write my solution on the top of the other solutions the winner becomes my solution.
But if I write my solution after others the winner is changing.
Even if I write my solution twice the results are different.
The results actually can be normal because of the behavior of this kind of performance analysis. I'm just wondering these tests are reliable.
Maybe the usage of
Benchmark.prototype.hzis wrong 🤔