Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BenchmarkOptions

Hierarchy

  • BenchmarkOptions

Index

Properties

Optional delay

delay: number

The delay between test cycles (secs).

defaultvalue

0.005 (from benchmark.js)

link

https://benchmarkjs.com/docs#options_delay

Optional initCount

initCount: number

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

defaultvalue

1 (from benchmark.js)

link

https://benchmarkjs.com/docs#options_initCount

Optional maxTime

maxTime: number

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

defaultvalue

5 (from benchmark.js)

link

https://benchmarkjs.com/docs#options_maxTime

Optional minSamples

minSamples: number

The minimum sample size required to perform statistical analysis.

defaultvalue

5 (from benchmark.js)

link

https://benchmarkjs.com/docs#options_minSamples

Optional minTime

minTime: number

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

defaultvalue

0 (from benchmark.js)

link

https://benchmarkjs.com/docs#options_minTime

Generated using TypeDoc