Creates an instance of PerformanceStatistics. Overrides the current instance
.
Additional results stored for the current application run, not per frame. Only the last value is stored.
Additional configuration values stored for the current application run, not per frame. Only the last value is stored.
Current frame statistics. Contains all values for the current frame. Will be cleared when [[PerformanceStatistics#storeFrameInfo]] is called.
Returns true
when the maximum number of storable frames is reached.
Global instance to the instance. The current instance can be overridden by creating a new
PerformanceStatistics
.
Add memory statistics to the current frame if available.
Add the render state information from [[THREE.WebGLInfo]] to the current frame.
Clears all settings, all stored frame events as well as the current frame values.
Clears only all stored frame events as well as the current frame values.
Convert to a plain object that can be serialized. Required to copy the test results over to nightwatch.
Convert to a plain object that can be serialized. Required to copy the test results over to nightwatch.
Convert the last frame values to a plain object that can be serialized. Required to copy the test results over to nightwatch.
Logs all values to the logger.
Optional header line.
Optional footer line.
Stores the current frame events into the array of events and clears all values.
Returns false
if the maximum number of storable frames has been reached.
Generated using TypeDoc
Performance measurement central.
Maintains the current. Implemented as an instance for easy access.
FrameStats, which holds all individual performance numbers.