diff --git a/lighthouse-core/lib/traces/tracing-processor.js b/lighthouse-core/lib/traces/tracing-processor.js index eb03ff2febdb..82de3aeeaaeb 100644 --- a/lighthouse-core/lib/traces/tracing-processor.js +++ b/lighthouse-core/lib/traces/tracing-processor.js @@ -193,7 +193,7 @@ class TraceProcessor { percentiles = [0.5, 0.75, 0.9, 0.99, 1]; } - // Find the main thread. + // Find the main thread via the first TracingStartedInPage event in the trace const startEvent = trace.traceEvents.find(event => { return event.name === 'TracingStartedInPage'; });