@pbroom/color-kit/computeTypes

PlaneComputeTelemetryBackendStats

Timing statistics for one backend within a telemetry bucket. "Total" time is computeTimeMs + marshalTimeMs of a run.

interfaceimport type { PlaneComputeTelemetryBackendStats } from '@pbroom/color-kit/compute';types.ts:140
interface PlaneComputeTelemetryBackendStats {
  sampleCount: number;
  averageTotalMs: number;
  lastTotalMs: number;
}

Properties

sampleCountnumber
Runs recorded for this backend in the bucket.
averageTotalMsnumber
Exponentially weighted moving average of total time in milliseconds (weight ewmaAlpha on the newest run; the first run seeds it).
lastTotalMsnumber
Total time of the most recent run, in milliseconds.