跳转到内容

CensusSeriesOptions

此内容尚不支持你的语言。

Defined in: diagnostics/census.ts:124

Pre-1.0: the counter set is expected to grow as probes are added.

optional boundedSlopeTolerance?: number

Defined in: diagnostics/census.ts:138

Per-cycle growth a bounded counter may show before it reads as a leak.


optional projectCycles?: 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.


optional trendByteBudgetPerCycle?: 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.


optional warmupCycles?: 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.