Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

StepTimes

The step’s times while profiling is on.

Property Type Description
now () => number The clock each line is timed on, in milliseconds.
samples Float64Array<ArrayBufferLike>[] The last window of milliseconds per line: recordPreviousTransforms first, then each system.
steps number Steps timed since profiling began.
window object Each line’s milliseconds summed and its worst, over the steps since takeStepWindow last read them; sized with samples.
window.steps number -
window.totals Float64Array -
window.worst Float64Array -