Closed mwskwong closed 3 months ago
Hi @mwskwong, thanks for the issue.
I've pushed up a fix for overriding the throttling.
v0.11 was meant to re-introduce throttling on by default but the configuration was actually set up incorrectly, I've gone with a custom throttling config to account for the CPU and network already getting trashed. Saying that, Unlighthouse has been and will never be for producing accurate performance metrics that are effected by variability.
Try out 0.11.4 and let me know if it's working better for you.
Hi @mwskwong, thanks for the issue.
I've pushed up a fix for overriding the throttling.
v0.11 was meant to re-introduce throttling on by default but the configuration was actually set up incorrectly, I've gone with a custom throttling config to account for the CPU and network already getting trashed. Saying that, Unlighthouse has been and will never be for producing accurate performance metrics that are effected by variability.
Try out 0.11.4 and let me know if it's working better for you.
For the original intent of this issue, it seems to load the correct config now in v0.11.4. However, would you mind elaborating on the "we need a custom throttling profile to account for the CPU/ network already getting blasted" part? i.e. the rationale of loosening the throttling.
The issue to solve is that the performance scores reported by Unlighthouse are either always too low (when throttling is enabled) or too high (because throttling is disabled). Users expect to see performance scores matching PSI.
While we're running multi-threaded Lighthouse scans there isn't really a solution besides fine-tuning the throttling
Describe the bug
Despite
throttle
istrue
by default,lighthouseOptions.throttlingMethod
always has the valueprovided
, effectively disabling throttle entirely. Explicitly settinglighthouseOptions.throttlingMethod
in the config file doesn't work as well.Command used:
Config file:
Debug output (some of the paths are masked):
Reproduction
See above
System / Nuxt Info
Also reproducible in GitHub Actions
ubuntu-latest