sksInWindow,
        ENDPOINT_TYPES.LONG_TASK_START, ENDPOINT_TYPES.LONG_TASK_END);
    const networkRequestEndpoints = getEndpoints_(networkRequests,
        ENDPOINT_TYPES.REQUEST_START, ENDPOINT_TYPES.REQUEST_END);
    const endpoints = longTaskEndpoints.concat(networkRequestEndpoints);
    endpoints.sort((a, b) => a.time - b.time);

    let networkQuietWindowStart = searchBegin;
    let mainThreadQuietWindowStart = searchBegin;
    let interactiveCandidate = undefined;
    let activeRequests = 0;

    f