Skip to content

PerfListProps beta ​

Interface of @v12-engine/client/debug

ts
export interface PerfListProps

What the performance list is given: a sample of the frame, and what the simulation and the computer players cost

Members ​

computers ​

ts
computers?: readonly ({
        name: string;
    } & ComputerTiming)[];

The computer players, timed per think where the simulation runs in this tab: a row each, its modules under it

counts ​

ts
counts?: readonly {
        label: string;
        value: number;
    }[];

Counts of the one who measures, under the memory: a game's entities, a map's objects

sample ​

ts
sample: PerfSample;

The frame's measurements, as the performance sampler took them

simulation ​

ts
simulation?: boolean;

Whether there is a simulation stepped each frame: a game's. Yes when left out

systems ​

ts
systems?: readonly SystemTiming[];

The simulation's own systems, timed per tick where it runs in this tab

work ​

ts
work?: string;

What the frame's own work is called, besides the simulation and the renderer's: client for a game's, editor for an editor's. With no simulation (simulation: false), it is the only other part of the CPU's