Skip to content

Benchmark results not consistent ? #29

@hasangenc0

Description

@hasangenc0

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 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions