Name of the benchmark
Benchmark options
Optionalargs?: any[]Array of arguments to pass to the benchmark function
Optionalprint?: booleanPrint benchmark results to console (default: true)
Optionalskip?: booleanSkip this benchmark
Optionaltimeout?: numberTimeout in milliseconds (default: 1000)
Optionalwarmup?: numberNumber of warmup iterations to run before the benchmark (default: 0)
Function to benchmark
Runs a benchmark
Name of the benchmark
Benchmark options
Optionalargs?: any[]Array of arguments to pass to the benchmark function
Optionalprint?: booleanPrint benchmark results to console (default: true)
Optionalskip?: booleanSkip this benchmark
Optionaltimeout?: numberTimeout in milliseconds (default: 1000)
Optionalwarmup?: numberNumber of warmup iterations to run before the benchmark (default: 0)
Optionalargs?: undefinedFunction to benchmark
Runs a benchmark