Closed dawsze closed 8 months ago
The gpsi plugin is a cloud version of the lighthouse plugin. The gpsi plugin needs to have a web access to https://pagespeed.web.dev/. You can use the lighthouse plugin without any additional web access rules.
The lighthouse plugin is better than the gpsi plugin for slow pages. Because the lighthouse plugin has a config file. And a test developer can increase timeout settings. It is impossible for https://pagespeed.web.dev/ and the gpsi
The config example with maxWaitForFcp and maxWaitForLoad:
module.exports = {
"extends": "lighthouse:default",
"settings": {
"maxWaitForFcp": 60000,
"maxWaitForLoad": 350000,
"formFactor": "desktop",
"throttling": {
"rttMs": 40,
"throughputKbps": 10240,
"cpuSlowdownMultiplier": 1,
"requestLatencyMs": 0,
"downloadThroughputKbps": 0,
"uploadThroughputKbps": 0
},
"screenEmulation": {
"mobile": false,
"width": 1350,
"height": 940,
"deviceScaleFactor": 1,
"disabled": false
},
"emulatedUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.96 crawler/1.0",
"skipAudits": [
]
}
};
and the SiteSpeed argument is needed:
--lighthouse.config "/config/lighthouse.config.js"
Please follow @polarnik advice.
Your question
I guess it's more question than a bug report but I'm trying to test application on private network. I'm mostly intrested in finding out INP metric from GPSI plugin. When i ran command: 'docker run --shm-size=1g --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:29.7.0-plus1 -n 1 ${PAGE_ADDRESS} --plugins.remove /lighthouse' no matter I pass --gpsi.key or not, the GPSI page at report is not shown.
Does it even possible to run gpsi inside private network? If so, please tell me what I'm doing wrong because, i could't find any informations bout that in google/yours repo.
Environment: Ubuntu 22.04.2 LTS [Virtualbox VM] Docker 24.0.6, build ed223bc
Log from cmd: