The number of times to call the function and measure its duration.
If the margin of error at 95% confidence level exceeds this many milliseconds, throw a PerformanceError.
If the maximum measured duration exceeds this many milliseconds, throw a PerformanceError.
If the mean measured duration exceeds this many milliseconds, throw a PerformanceError.
If the minimum measured duration exceeds this many milliseconds, throw a PerformanceError.
Whether to wait for each iteration to finish before starting the next.
If the standard deviation of all durations measured exceeds this many milliseconds, throw a PerformanceError.
Whether to make use of the options like meanUnder
and minUnder
.
Callback to invoke after each iteration.
The return value of the beforeEach
function for the current iteration.
The return value of the measured function for the current iteration.
Callback to invoke before each iteration.
Generated using TypeDoc
Options for Benchmark.measure().