WebPagetest Forums
Pass throttling to lighthouse - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Pass throttling to lighthouse (/showthread.php?tid=15709)



Pass throttling to lighthouse - atisdale - 03-09-2019 04:43 AM

We continuously run lighthouse and monitor many web pages on our site via a Private Instance.

I see that the Performance scores through our private instance have recently improved dramatically to 91, however if I run the test through webpagetest.org I see a performance score of 55.

When I run the lighthouse test through the node CLI on my development machine with no throttling I also see scores of 91.
I am able to add throttling to my development machine via --throttling-method=devtools and I see the score lower to 44.
How can I add throttling to my Private instance? I see no way to pass throttling to WPT for lighthouse.

Runtime settings on development CLI with throttling:
Device: Emulated Nexus 5X
Network throttling: 562.5 ms HTTP RTT, 1,474.6 Kbps down, 675 Kbps up (DevTools)
CPU throttling: 4x slowdown (DevTools)
User agent (host): Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36
CPU/Memory Power: 1116

Runtime settings on webpagetest.org
Device: No emulation
Network throttling: Provided by environment
CPU throttling: Provided by environment
User agent (host): Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36
CPU/Memory Power: 123

Runtime settings on private instance
Device: Emulated Nexus 5X
Network throttling: Provided by environment
CPU throttling: Provided by environment
User agent (host): Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse
CPU/Memory Power: 1341

thanks!