Namespace: performance

syngen.performance

Calculates and exposes real-time performance metrics.

Source:

Methods

(static) delta() → {Number}

Returns the median duration of frames.

Source:
Returns:
Type
Number

(static) fps() → {Number}

Returns the average number of frames per second.

Source:
Returns:
Type
Number

(static) update()

Recalculates performance metrics.

Source:
Listens to Events: