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.
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.