SessionTiming beta
Interface of @v12-engine/engine
ts
export interface SessionTimingWhere the time of a simulation run elsewhere went of late (SessionCan.timing)
Members
profile
ts
profile?(on: boolean): void;Measures the simulation's systems, or stops (it costs a little): what the stats window asks while it is open
timing
ts
timing(): {
tick: number;
tickMax: number;
send: number;
receive?: number;
systems?: SystemTiming[];
} | undefined;Milliseconds a tick took, evened out, the longest, what sending the page what changed took, what the page took to take it in, and each system's share (world.scheduler.timing()) while they are measured (profile)