Optional
iterationsnumber of times that a task should run if even the time option is finished
Optional
namebenchmark name
Optional
nowfunction to get the current timestamp in milliseconds
Optional
setupsetup function to run before each benchmark task (cycle)
Optional
signalAn AbortSignal for aborting the benchmark
Optional
teardownteardown function to run after each benchmark task (cycle)
Optional
throwsThrows if a task fails
Optional
timetime needed for running a benchmark task (milliseconds)
Optional
warmupwarmup benchmark
Optional
warmupwarmup iterations
Optional
warmupwarmup time (milliseconds)
bench options