Skip to main content

touchstone.benchmarkoptions

Home > @pebula/touchstone > BenchmarkOptions

BenchmarkOptions interface

Signature:

export interface BenchmarkOptions 

Properties

Property

Modifiers

Type

Description

delay?

number

(Optional) The delay between test cycles (secs).

initCount?

number

(Optional) The default number of times to execute a test on a benchmark’s first cycle.

maxTime?

number

(Optional) The maximum time a benchmark is allowed to run before finishing (secs).

minSamples?

number

(Optional) The minimum sample size required to perform statistical analysis.

minTime?

number

(Optional) The time needed to reduce the percent uncertainty of measurement to 1% (secs).