Optional iterations?: number10
Optional now?: (() => number)function to get the current timestamp in milliseconds
function to get the current timestamp in milliseconds
Optional setup?: Hooksetup function to run before each benchmark task (cycle)
Optional signal?: AbortSignalAn AbortSignal for aborting the benchmark
Optional teardown?: Hookteardown function to run after each benchmark task (cycle)
Optional throws?: booleanThrow if a task fails (events will not work if true)
Optional time?: numbertime needed for running a benchmark task (milliseconds)
500
Optional warmupwarmup iterations
5
Optional warmupwarmup time (milliseconds)
100ms
Generated using TypeDoc
number of times that a task should run if even the time option is finished