or (const endpoint of endpoints) {
      if (reachedTTIQuiscence_(endpoint.time,
          networkQuietWindowStart, mainThreadQuietWindowStart)) {
        interactiveCandidate = mainThreadQuietWindowStart;
        break;
      }

      switch (endpoint.type) {
        case ENDPOINT_TYPES.LONG_TASK_START:
          mainThreadQuietWindowStart = undefined;
          break;
        case ENDPOINT_TYPES.LONG_TASK_END:
          mainThreadQuietWindowStart = endpoint.time;
          break;
        case ENDPOINT_TYP