@pbroom/color-kit/computeTypes
PlaneComputeTelemetryBackendStats
Timing statistics for one backend within a telemetry bucket. "Total" time is computeTimeMs + marshalTimeMs of a run.
import type { PlaneComputeTelemetryBackendStats } from '@pbroom/color-kit/compute';types.ts:140interface PlaneComputeTelemetryBackendStats {
sampleCount: number;
averageTotalMs: number;
lastTotalMs: number;
}Properties
- sampleCount
number - Runs recorded for this backend in the bucket.
- averageTotalMs
number - Exponentially weighted moving average of total time in milliseconds (weight
ewmaAlphaon the newest run; the first run seeds it). - lastTotalMs
number - Total time of the most recent run, in milliseconds.