Skip to content

Commit

Permalink
Update tracing-processor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Aug 31, 2016
1 parent add0f03 commit b526eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/lib/traces/tracing-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
});
Expand Down

0 comments on commit b526eb3

Please sign in to comment.