~shimon/forgeperf

2d941cdd9f3d2e1b178f29c591ab8efc9374c254 — Drew DeVault 9 months ago 48cf20c master
Updates folllowing lighthouse breaking changes
2 files changed, 5 insertions(+), 5 deletions(-)

M index.html
M main.go
M index.html => index.html +4 -4
@@ 28,12 28,12 @@
    </p>
    <pre>lighthouse &lt;url&gt; \
    --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 &mdash; 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 &mdash; 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",