search

goog.testing.PerformanceTable

Provided By
All Known Aliases

A UI widget that runs performance tests and displays the results.

new PerformanceTable( root, opt_timer, opt_precision, opt_numSamples )

Parameters
root(Element|null)

The element where the table should be attached.

opt_timer(goog.testing.PerformanceTimer|null)=

A timer to use for executing functions and profiling them.

opt_precisionnumber=

Number of digits of precision to include in results. Defaults to 0.

opt_numSamplesnumber=

The number of samples to take. Defaults to 5.

Instance Methods