Skip to content
InterfaceTypes & Utilities@public

FlxFpsMetrics

Metrics from the most recently completed FPS sampling window.

ts
export interface FlxFpsMetrics

Properties

PropertyModifiersTypeDescription
averageFrameMSreadonlynumberMean wall-clock interval between rendered frames.
catchUpFramesreadonlynumberRenders preceded by two or more fixed updates.
fpsreadonlynumberMean completed render frames per second.
jankFramesreadonlynumberFrames slower than 1.5 times the target frame interval.
maxFrameMSreadonlynumberSlowest frame interval in the sampling window.
p95FrameMSreadonlynumber95th percentile frame interval in the sampling window.
updatesPerSecondreadonlynumberFixed simulation updates completed per second.
zeroStepFramesreadonlynumberRenders preceded by no fixed update.

Released under the MIT License.