@mocanvas/editor · interface
interface TLPerfLongAnimationFrameA frame the browser considered long enough to be worth reporting.
The useful field is blockingDuration: the part of the frame during which
the main thread could not respond to input, which is what a person actually
perceives as a stall.
Properties · 6
blockingDuration?: number | undefinedHow long the main thread was unresponsive.
duration?: number | undefinedrenderStart?: number | undefinedWhen rendering work began within the frame.
scripts: readonly TLPerfLongAnimationFrameScript[]Scripts the browser could attribute the time to.
startTime?: number | undefinedstyleAndLayoutStart?: number | undefinedWhen style and layout began within the frame.
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.