WARMUP_FRACTION
@forge/monorepo / backend/src / WARMUP_FRACTION
Variable: WARMUP_FRACTION
constWARMUP_FRACTION:0.25=0.25
Defined in: backend/src/loadtest/metrics.ts:149
The share of a run treated as warm-up and excluded from the fit.
Every real process ramps at the start: the JIT compiles, connection pools fill to their configured size, caches populate. That ramp is not a leak, and it is steep — steeper than any leak worth catching — so a fit including it reports a leak on every single run.
A quarter. Enough to clear the ramp on runs of any length, and it still leaves three quarters of the samples to fit, which is where a leak would show anyway: a leak that only exists during warm-up is a warm-up.