Internal Creates an instance of PerformanceStatistics. Overrides the current instance.
Optional enabled: boolean = trueIf false the performance values will not be stored.
Optional maxNumFrames: number = 1000The maximum number of frames that are to be stored.
PerformanceStatistics
Readonly appAdditional results stored for the current application run, not per frame. Only the last value is stored.
Readonly configsAdditional configuration values stored for the current application run, not per frame. Only the last value is stored.
PerformanceStatistics
Readonly currentCurrent frame statistics. Contains all values for the current frame. Will be cleared when [[PerformanceStatistics#storeFrameInfo]] is called.
PerformanceStatistics
If false the performance values will not be stored.
The maximum number of frames that are to be stored.
Returns true when the maximum number of storable frames is reached.
PerformanceStatistics
Static instanceGlobal instance to the instance. The current instance can be overridden by creating a new
PerformanceStatistics.
Convert to a plain object that can be serialized. Required to copy the test results over to nightwatch.
Generated using TypeDoc
Performance measurement central.
Remarks
Maintains the current. Implemented as an instance for easy access.
FrameStats, which holds all individual performance numbers.