Skip to content

Commit

Permalink
core(trace-engine): re-enable invalidations handler (#16293)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine authored Jan 7, 2025
1 parent 163e5d7 commit 82b6521
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions core/computed/trace-engine-result.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,7 @@ class TraceEngineResult {
* @return {Promise<LH.Artifacts.TraceEngineResult>}
*/
static async runTraceEngine(traceEvents) {
const traceHandlers = {...TraceEngine.TraceHandlers};

// @ts-expect-error Temporarily disable this handler
// It's not currently used anywhere in trace engine insights or Lighthouse.
// TODO: Re-enable this when its memory usage is improved in the trace engine
// https://github.com/GoogleChrome/lighthouse/issues/16111
delete traceHandlers.Invalidations;

const processor = new TraceEngine.TraceProcessor(traceHandlers);
const processor = new TraceEngine.TraceProcessor(TraceEngine.TraceHandlers);

// eslint-disable-next-line max-len
await processor.parse(/** @type {import('@paulirish/trace_engine').Types.Events.Event[]} */ (
Expand Down

0 comments on commit 82b6521

Please sign in to comment.