M index.html => index.html +4 -4
@@ 28,12 28,12 @@
</p>
<pre>lighthouse <url> \
--only-categories=performance,accessibility \
- --emulated-form-factor=none \
+ --profile=desktop \
--throttling.cpuSlowdownMultiplier=1</pre>
<p>
- The emulated mobile form factor was disabled because it's rare that a
- developer is coding on a mobile device — and some forges have
- separate mobile sites, so a separate test suite would be warranted.
+ The desktop profile is used because it's rare that a developer is coding
+ on a mobile device — and some forges have separate mobile sites, so
+ a separate test suite would be warranted.
</p>
<p>
We left the throttling settings at the Lighthouse default, because it's
M main.go => main.go +1 -1
@@ 42,7 42,7 @@ func runReport(host, task, url string) *schema.LighthouseReport {
}
cmd := exec.Command("lighthouse", url,
"--only-categories=performance,accessibility",
- "--emulated-form-factor=none",
+ "--profile=desktop",
"--throttling.cpuSlowdownMultiplier=1",
"--output=html",
"--output=json",