TLPerfFrameTimeStats

See source code
Table of contents

Common frame time statistics shared by interaction and camera end events.

interface TLPerfFrameTimeStats {}

Properties

avgFrameTime

Mean frame duration in ms.

avgFrameTime: number;

duration

Total duration of the session in ms.

duration: number;

fps

Average frames per second during the session.

fps: number;

frameCount

Total number of frames recorded.

frameCount: number;

frameTimes

Raw frame durations for local analysis. Exclude when sending to analytics.

frameTimes: number[];

longAnimationFrames

optional

Long animation frames observed during this period (Chromium 123+). Only present when the browser supports the Long Animation Frames API and at least one long frame was observed. Exclude when sending to analytics — entries are large and contain script URLs.

longAnimationFrames?: TLPerfLongAnimationFrame[];

maxFrameTime

Longest frame duration in ms.

maxFrameTime: number;

medianFrameTime

Median (p50) frame duration in ms.

medianFrameTime: number;

minFrameTime

Shortest frame duration in ms.

minFrameTime: number;

p95FrameTime

95th percentile frame duration in ms.

p95FrameTime: number;

p99FrameTime

99th percentile frame duration in ms.

p99FrameTime: number;

Prev
TLPerfEventMap
Next
TLPerfLongAnimationFrame