-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Incosistent reporting in Pagespeed Insights #9902
Comments
Yes i am able to see the same issue and it started to happen around Oct 17th. I can see it both in the API and in pagespeedinsights . |
@murali-krishnamoorthy yeah, it's been happening for the past two weeks for me as well. Some days it differs 10+ within minutes of testing. Is there another way to look for API updates? |
Just to add , the resource data that api provides in its response , does not have all the resources on the page when it has a high score , so maybe its calculating the score before all the resources are downloaded in some instances |
The screenshot is a giveaway that some resources were not loaded, so @murali-krishnamoorthy's analysis is correct that when some resources are not present the score will go up because loading a page with lots of missing resources is much faster than loading a heavy page. |
Hi i am not sure how soon this will be prioritized , but this impacts mostly all users. |
I can confirm that's happening on PageSpeed Insights API as well. We're getting far better scores because some resources are not loaded at all. It's like the test is being stopped or it detects early that's done. |
This is probably unrelated, from what I can tell nothing seems to have changed on our end on the 17th. +1 to @patrickhulce & @murali-krishnamoorthy that this is because not all the content was loaded. As to why it wasn't loaded I'm not sure. @Kvabber / @murali-krishnamoorthy / @midudev do you have some URLs I could test against to look into this? |
@exterkamp I can reproduce the problem with this one: https://www.fotocasa.es/es/comprar/viviendas/madrid-provincia/madrid-zona-de/l?combinedLocationIds=724,14,28,173,0,0,0,0,0 In the image, you can see the content still is not completely loaded (that's the SSR with critical CSS): It seems like it's not completely mounting the app on the client. Might be some kind of signal that is making think Lighthouse the load is over? Some different threshold from previous versions? If I use the Audit tab with Chrome 78.0.3904.70 I get this result: I see Chrome is using Lighthouse 5.2.0 while PageSpeed Insights is using 5.6.0 |
here is another example of with 2 varying score run within few seconds |
This happens across all of our clients actually. It hasn't been an issue before as far as I recall, but lately it hasn't been very trustworthy due to the inconsistency within seconds of testing. The URL I showed in the first example is https://www.smarterlife.dk |
Hi - Any update on this issue |
I started to look into this. All I can say for now is that I can repro this kind of inconsistent behavior in PSI. Haven't been able to dig into the specifics of why it's cutting off in PSI. Are you seeing this kind of behavior across other channels? ChromeDevTools/CLI?
These examples all appear to be mid load when we finish the run. Which is definitely odd. @patrickhulce these sites all seem to be loading content late/mid load, this seems like a case of us thinking the site is done mid load...
@patrickhulce we didn't change any loading signals from 5.2->5.6 did we? |
I´m facing this or similar issue. |
We're seeing the same issues from the same time frame. We see it on multiple stacks. Wether we hit via CDN, GCLB, or direct server connection we see it about 5% of the time. It seems like javascript is not loaded on the "first" hit. Then it goes away for a few minutes and comes back. https://www.bexrealty.com/real-estate/Boca-Raton/ You can see that it's missing the javascript files, it's not even requesting them from the server. There are no requests for it at the server level like it's specifically missing those resources. |
I have exactly the same issue! Any updates around it? |
I'm guessing this is not getting movement because #ChromeWebSummit. After the event, I think we could see some updates. |
Bumping this. I'll be glad to help if you could point me in the right direction or assist in anything you might need. 🙇 |
Post Mortem: ERR_ACCESS_DENIED and PSI measurement inaccuracyIn the past month, we have had an increase in error rates inside PageSpeed Insights. This presented as an increase in fatal These errors resulted in:
What Happened?On October 16th, the infrastructure that makes outgoing network requests for PageSpeed Insights began to sporadically deny network requests due to some concurrent quota issues. This happened stochastically and silently, which made it not reproducible and hard to diagnose. These errors began to happen slowly and rose over the period of 1 month, tripping none of our alerting infrastructure. Additionally, these errors began to present mid way as we upgraded PSI from Lighthouse 5.4 to 5.6, and additional rendering upgrades. This disguised the gradual changes to error rates behind the usual fluxuations in upgrading. Once the global error rate was noticed we updated and redeployed all our rendering infrastructure, and Lighthouse infrastructure, to no effect. On November 19th, upon investigating our networking infrastructure more closely, we found that our outgoing network requests were hitting a concurrent requests quota. These denials presented to end users as We requested more quota immediately. It was approved hours later and the deployment began November 19th around 6PM PST. We saw error rates begin to decline and we expect this variability noise to resolve as well. Important Dates
ResultsOnce the fix was applied, error rates dropped:
Additionally, latency and performance scores returned to pre-October 16th levels. Special ThanksThank you to everyone who reported this issue initially and continued to look into it and share their experiences, and especially the graphs of performance shifts, they were super helpful! ❤️ @Kvabber, @murali-krishnamoorthy, @midudev, @Lofesa, @bwheatley, @hazemhagrass, @hagen-gloetter, @TDurrr1, @naveedahmed1, @JustPlainHigh, @jmartinezpoq, @rootman, @darxide-pl |
@exterkamp thanks for sharing the details, great job 👍 |
Thanks @exterkamp & team for fixing it and giving such a detailed post morten comment. Much appreciated! 🙇 |
Hi to all In the 1st. you can see, in the javascript execution time section in passed audits, 4 file execution profile and in the 2nd you can see only 3 file execution profile. |
@Lofesa that audit doesn't display highlight all downloaded scripts, just ones where the CPU execution time is above 50ms. The script that's missing was 59ms previously so it probably just dropped below 50ms and was hidden. |
Thx @patrickhulce |
This seems sorted out now 😄 Thanks for all the comments and feedback! ❤️ |
I think it is happening again. When we are adding a page to a domain for ex: https://some-domain/some-page we get the errors. Some of our domains are working and on others - not. And if we get the response the metrics are completely different comparing when Lighthouse is run in devtools or terminal. not working: Please check. |
I'm also seeing it happening with the online tool. Works fine in the local DevTool audit panel. |
Does anyone know why Pagespeed Insights is so inconsistent in its reports? I often get a gap on 10+ between analyses, and sometimes I get a huge gap when it doesn't load the page properly on either device (it never loads perfectly on both devices simultaneously).
The text was updated successfully, but these errors were encountered: