In-game tools · interface

FrameHistory

A fixed window of frame times, oldest first.

Explained in In-game tools.

interface FrameHistory
import type { FrameHistory } from '@driftengine/tools';

In depth

A ring rather than a growing array, because this is pushed once a frame forever and the window is the only part anybody looks at.

Properties

NameTypeDescription
msreadonlyFloat64Array
fillednumberHow many of ms are live, up to its length.