Skip to main content

Module meter

Module meter 

Source
Expand description

The frame-rate readout’s numbers: the frames of the last second, each with what it spent in the kernel and on the canvas.

The editor draws only when something changes, so a second at rest holds no frames and the readout stands on the last one it saw. What it says is the rate while working — a drag, a pan — and what the last frame cost.

Structs§

Frame
One frame’s costs, and when it ran on the page’s clock.
FrameMeter
Metered
What the readout shows.

Constants§

WINDOW 🔒
How far back the rate counts.