search

goog.testing.PerformanceTimer.Task

Provided By

A task for the performance timer to measure. Callers can specify optional setUp and tearDown methods to control state before and after each run of the test function.

new Task( test )

Parameters
testfunction(): (goog.Thenable|undefined)

Test function whose performance is to be measured.

Instance Methods