TLInteractionEndPerfEvent
Table of contents
Extends TLPerfFrameTimeStats.
Emitted when an interaction state is exited, with aggregated frame time stats.
interface TLInteractionEndPerfEvent extends 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
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;name
The state node id (e.g. 'translating').
name: string;p95FrameTime
95th percentile frame duration in ms.
p95FrameTime: number;p99FrameTime
99th percentile frame duration in ms.
p99FrameTime: number;path
Full tool path (e.g. 'select.translating').
path: string;selectedShapeTypes
Breakdown of selected shape types at interaction start (e.g. { geo: 2, draw: 1 }).
selectedShapeTypes: Record<string, number>;shapeCount
Total shapes on the current page.
shapeCount: number;timestamp
performance.now() when the interaction ended.
timestamp: number;zoomLevel
Camera zoom level (camera.z) at interaction end.
zoomLevel: number;