Skip to content

Commit 82b6521

Browse files
authored
core(trace-engine): re-enable invalidations handler (#16293)
1 parent 163e5d7 commit 82b6521

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

core/computed/trace-engine-result.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@ class TraceEngineResult {
2020
* @return {Promise<LH.Artifacts.TraceEngineResult>}
2121
*/
2222
static async runTraceEngine(traceEvents) {
23-
const traceHandlers = {...TraceEngine.TraceHandlers};
24-
25-
// @ts-expect-error Temporarily disable this handler
26-
// It's not currently used anywhere in trace engine insights or Lighthouse.
27-
// TODO: Re-enable this when its memory usage is improved in the trace engine
28-
// https://github.com/GoogleChrome/lighthouse/issues/16111
29-
delete traceHandlers.Invalidations;
30-
31-
const processor = new TraceEngine.TraceProcessor(traceHandlers);
23+
const processor = new TraceEngine.TraceProcessor(TraceEngine.TraceHandlers);
3224

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

0 commit comments

Comments
 (0)