Function zPeakWork
-
zPeakWork(
views: readonly TimedView[],
samples: readonly WorkSample[],
options?: { basis?: Basis; busiestShare?: number },
): PeakWorkParameters
- views: readonly TimedView[]
- samples: readonly WorkSample[]
- options: { basis?: Basis; busiestShare?: number } = {}
Returns PeakWork
Z_peak_work: over the busiest intervals, the origin work local views avoided less the work spool's own routes cost, over the work the origin would have done without spool. A local view is priced at the series-wide mean handler time of its route. Intervals are ranked by baseline work andbusiestShareof them, at least one, are taken.