CensusSeriesOptions
Defined in: diagnostics/census.ts:124
Pre-1.0: the counter set is expected to grow as probes are added.
Properties
Section titled “Properties”boundedSlopeTolerance?
Section titled “boundedSlopeTolerance?”
optionalboundedSlopeTolerance?:number
Defined in: diagnostics/census.ts:138
Per-cycle growth a bounded counter may show before it reads as a leak.
projectCycles?
Section titled “projectCycles?”
optionalprojectCycles?:number
Defined in: diagnostics/census.ts:136
Cycle count the projection reports against — “at this rate, N cycles costs this much”. Does not affect the verdict.
trendByteBudgetPerCycle?
Section titled “trendByteBudgetPerCycle?”
optionaltrendByteBudgetPerCycle?:number
Defined in: diagnostics/census.ts:146
Per-cycle byte growth a trend counter (a heap) may show.
The default is a DETECTION FLOOR, not a taste — below ~16 KB the number is V8 sizing its heap, not the engine keeping anything (measurements in docs/REARCH_RELIABILITY_SOAK.md). Exact counters do the fine-grained job.
warmupCycles?
Section titled “warmupCycles?”
optionalwarmupCycles?:number
Defined in: diagnostics/census.ts:131
Cycles to discard before judging. A first pass legitimately allocates for good — lazy component registration, a shader compiled on first use, a pool reaching working size — and judging that would fail every run. Defaults to the larger of 3 and a fifth of the samples.