From 153e71a285d9f512df58e8e0fd0f5c65961f2010 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Fri, 8 Dec 2023 13:07:35 -0800 Subject: [PATCH] core(bootup-time): exclude _lighthouse-eval.js --- core/audits/bootup-time.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/audits/bootup-time.js b/core/audits/bootup-time.js index a858517ea700..c950178c0443 100644 --- a/core/audits/bootup-time.js +++ b/core/audits/bootup-time.js @@ -109,6 +109,9 @@ class BootupTime extends Audit { settings.throttling.cpuSlowdownMultiplier : 1; const executionTimings = getExecutionTimingsByURL(tasks, networkRecords); + // Exclude our own tasks. + executionTimings.delete('_lighthouse-eval.js'); + const tbtImpact = await this.getTbtImpact(artifacts, context); let hadExcessiveChromeExtension = false;