Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Score not matching the Calculator Score (webpagetest.org) - desktop #10836

Closed
fvpDev opened this issue May 23, 2020 · 4 comments
Closed

Comments

@fvpDev
Copy link

fvpDev commented May 23, 2020

Provide the steps to reproduce

  1. Run LH via webpagetest.org on https://sanity-www-fenaw9fjm.now.sh/

What is the current behavior?

The score report and score calculator do not match.
Here are the results:
WPT Desktop Test: https://www.webpagetest.org/result/200523_SN_5c9583ca40eccaa61ef6bbc7392cc3fb/
LH Desktop Report: https://www.webpagetest.org/lighthouse.php?test=200523_SN_5c9583ca40eccaa61ef6bbc7392cc3fb&run=2

lighthouse_6 0 0-report_score_not_matching_calculator_score

Calculator: https://googlechrome.github.io/lighthouse/scorecalc/#first-contentful-paint=1114.902&speed-index=1839&largest-contentful-paint=1898.038&interactive=1851.684&total-blocking-time=17.261999999999944&cumulative-layout-shift=0.007962289589066526&first-cpu-idle=1851.684&first-meaningful-paint=1114.902&device=none&version=6.0.0

lighthouse_6 0 0-report_score_not_matching_calculator_score-calc

What is the expected behavior?

I should have a score displayed of 99 (according to score calculator)

Environment Information

  • Affected Channels: WebPageTest (idk what they are using)
  • Lighthouse version: 6.0.0
  • Operating System: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

lighthouse_6 0 0-report_score_not_matching_calculator_score-settings

Related issues

@paulirish
Copy link
Member

@fvpDev thanks for filing.

It's a known issue that the score calc doesn't support desktop yet. paulirish/lh-scorecalc#10

We'll be fixing this soon.

@paulirish paulirish changed the title Report Score not matching the Calculator Score (webpagetest.org) Report Score not matching the Calculator Score (webpagetest.org) - desktop May 24, 2020
@fvpDev
Copy link
Author

fvpDev commented May 25, 2020

I should have mentioned that it was a desktop run in WPT...and should have included the link to the whole run (I went ahead and updated my original comment above)...
WPT Desktop Test: https://www.webpagetest.org/result/200523_SN_5c9583ca40eccaa61ef6bbc7392cc3fb/

Just a confirmation for y'all: I had no problems with running a mobile test btw...here it is (running a mobile WPT test ran a mobile lighthouse test):

WPT Mobile Test: https://www.webpagetest.org/result/200524_6M_73eab15be593686a20003c338e435cc0/
LH Mobile Report: https://www.webpagetest.org/lighthouse.php?test=200524_6M_73eab15be593686a20003c338e435cc0&run=3

lighthouse_6 0 0-report_score_not_matching_calculator_score-mobile_report

Calculator: https://googlechrome.github.io/lighthouse/scorecalc/#first-contentful-paint=765.172&speed-index=770&largest-contentful-paint=923.13&interactive=1026.675&total-blocking-time=184.87299999999993&cumulative-layout-shift=0&first-cpu-idle=1026.675&first-meaningful-paint=765.172&device=none&version=6.0.0

lighthouse_6 0 0-report_score_not_matching_calculator_score-mobile_calc

Here are the settings:

lighthouse_6 0 0-report_score_not_matching_calculator_score-mobile_settings

@paulirish
Copy link
Member

@fvpDev thanks for the great bug report. There was indeed a problem with the LH configuration in WPT. It should be all fixed by catchpoint/WebPageTest.agent#297 which landed a few days after you filed this issue.

For any new run on WPT, the scores should be correct and matching now. I just checked myself on WPT and they seem good. Can you verify?

@connorjclark
Copy link
Collaborator

Let us know if you see a mismatch, we think we fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants