SchedulerStats
Documentation / @elitechart/core / SchedulerStats
Defined in: scheduler/frame-scheduler.ts:70
Rolling paint-time snapshot. Populated by FrameScheduler on every tick so embedders can surface performance overlays / dev HUDs.
lastMsis the most recent paint's wall-clock duration.avgMsis a 30-sample rolling average (~0.5s at 60fps) — smooths out single-frame spikes so the reported number is stable.peakMsis the max across the rolling window.frameCountis monotonic total frames since construction.lastDirtyMaskis the last paint's dirty-layer bitmask so consumers can see which layers were costly.
Example
Properties
avgMs
Defined in: scheduler/frame-scheduler.ts:72
frameCount
Defined in: scheduler/frame-scheduler.ts:74
lastDirtyMask
Defined in: scheduler/frame-scheduler.ts:75
lastMs
Defined in: scheduler/frame-scheduler.ts:71
peakMs
Defined in: scheduler/frame-scheduler.ts:73