@mocanvas/editor · interface

TLPerfFrameTimeStats

interface TLPerfFrameTimeStats

Summary statistics over a window of frame times, in milliseconds.

A mean alone hides the thing anyone cares about: a canvas that averages 8ms but spikes to 90 feels broken, and one that sits at 14ms does not. p95 and max are what a regression shows up in first.


Properties · 6

count: number

How many frames the window covers.

max: number
mean: number
median: number
min: number
p95: number

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.