Function activityGains
-
activityGains(
arms: Readonly<
Record<string, { extraWatts: Spread } | null | undefined>,
>,
pairs?: readonly ActivityPair[],
): ActivityGain[]Parameters
- arms: Readonly<Record<string, { extraWatts: Spread } | null | undefined>>
- pairs: readonly ActivityPair[] = ACTIVITY_PAIRS
Returns ActivityGain[]
Per pair, the watts a hook removes from the page it is on (the gain), and the watts that page still draws above a quiet one (the residual). A pair with an arm that has no kept window is left out. The quiet arm is not the baseline of the gain: a quiet page is where a perfect hook would end.