From b93e44b7254fe6904bdfe158100c6f720f8af3fa Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Fri, 15 Jul 2022 17:19:46 -0700 Subject: [PATCH] Internal tooling: open LH audits automatically --- Makefile.online | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.online b/Makefile.online index fa6a2f6..ee66426 100644 --- a/Makefile.online +++ b/Makefile.online @@ -11,10 +11,10 @@ CHROME_PATH = $(CHROME_DIR)/chrome CHROMEDRIVER_PATH = $(CHROME_DIR)/chromedriver CHROME_PROFILE ?= /tmp/chrome-lighthouse JS_FLAGS='' -CHROME_FLAGS += --disable-extensions --no-default-browser-check --disable-client-side-phishing-detection --disable-component-update --disable-default-apps --disable-device-discovery-notifications --disable-domain-reliability --disable-background-timer-throttling --disable-breakpad --enable-blink-features=LayoutInstabilityAPI --no-first-run --disable-background-networking --user-data-dir=$(CHROME_PROFILE) --enable-quic --origin-to-force-quic-on=$(DOMAIN):443 +CHROME_FLAGS += --disable-extensions --no-default-browser-check --disable-client-side-phishing-detection --disable-component-update --disable-default-apps --disable-device-discovery-notifications --disable-domain-reliability --disable-background-timer-throttling --disable-breakpad --enable-blink-features=LayoutInstabilityAPI --no-first-run --disable-background-networking --user-data-dir=$(CHROME_PROFILE) --enable-quic --start-in-incognito --origin-to-force-quic-on=$(DOMAIN):443 CHROME_FLAGS_COMMA = 'disable-extensions,no-default-browser-check,disable-client-side-phishing-detection,disable-component-update,disable-default-apps,disable-device-discovery-notifications,disable-domain-reliability,disable-background-timer-throttling,disable-breakpad,no-first-run,disable-background-networking,js-flags=--jitless' CPU_SLOWDOWN=2.8 -LIGHTHOUSE_ARGS += --budget-path linter-configs/budget.json --output html --output json --output-file lighthouse-results --throttling.cpuSlowdownMultiplier=$(CPU_SLOWDOWN) --chrome-flags="$(CHROME_FLAGS)" +LIGHTHOUSE_ARGS += --view --budget-path linter-configs/budget.json --output html --output json --output-file lighthouse-results --throttling.cpuSlowdownMultiplier=$(CPU_SLOWDOWN) --chrome-flags="$(CHROME_FLAGS)" hint-online: hint --config linter-configs/hintrc -f codeframe $(URL)