Skip to content

Add an option to increase the benchmark duration/sample size #34

@tuomO42

Description

@tuomO42

Cool library

Have been trying this library out for a few days and its very cool. I like that its fast to setup.

But i have found myself constantly making long for loops to make the benchmarks longer. The current 100ms limit seems to have so small sample size with even small functions that results end up very inconsistent between runs.

Would also assume that some type of benchmarks can be affected by the time that they are ran due to various reasons. These kind of effects would be easy to check for if there was an option to change the time from command line.

So would be cool if there was a command line option to set the duration/sample size for tests easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions