Optionaliterationsnumber of times that a task should run if even the time option is finished
Optionalnamebenchmark name
Optionalnowfunction to get the current timestamp in milliseconds
Optionalsetupsetup function to run before each benchmark task (cycle)
OptionalsignalAn AbortSignal for aborting the benchmark
Optionalteardownteardown function to run after each benchmark task (cycle)
OptionalthrowsThrows if a task fails
Optionaltimetime needed for running a benchmark task (milliseconds)
Optionalwarmupwarmup benchmark
Optionalwarmupwarmup iterations
Optionalwarmupwarmup time (milliseconds)
Bench options