static computeTraceEnd(events, timeOriginEvt) {
    let maxTs = -Infinity;
    for (const event of events) {
      maxTs = Math.max(event.ts + (event.dur || 0), maxTs);
    }

    return {timestamp: maxTs, timing: (maxTs - timeOriginEvt.ts) / 1000};
  }
Computes the last observable timestamp in a set of trace events.

@param {Array<LH.TraceEvent>} events
@param {LH.TraceEvent} timeOriginEvt
@return {{timing: number, timestamp: number}}