search

goog.testing.PerformanceTimer

Provided By

Creates a performance timer that runs test functions a number of times to generate timing samples, and provides performance statistics (minimum, maximum, average, and standard deviation).

new PerformanceTimer( opt_numSamples, opt_timeoutInterval )

Parameters
opt_numSamplesnumber=

Number of times to run the test function; defaults to 10.

opt_timeoutIntervalnumber=

Number of milliseconds after which the test is to be aborted; defaults to 5 seconds (5,000ms).

Instance Methods

Static Functions

Static Properties

Classes