goog.testing.PerformanceTable |
root
: Element
The element where the table should be attached.
|
opt_timer
: goog.testing.PerformanceTimer=
A timer to use for
executing functions and profiling them.
|
opt_precision
: number=
Number of digits of precision to include in
results. Defaults to 0.
|
No description.
Returns: Element
The body of the table.
|
code » | |||
No description.
Returns: goog.testing.PerformanceTimer
The timer being used.
|
code » | |||
![]()
Render the initial table.
|
code » | |||
![]()
Record a performance timer results object to the performance table. See
goog.testing.PerformanceTimer for details of the format of this
object.
Arguments:
|
code » | |||
![]()
Report an error in the table.
Arguments:
|
code » | |||
Round to the specified precision.
|
code » | |||
![]()
Run the given function with the performance timer, and show the results.
Arguments:
|
code » | |||
![]()
Run the given task with the performance timer, and show the results.
Arguments:
|
code » |