cloudfour / lighthouse-parade

A Node.js command line tool that crawls a domain and gathers lighthouse performance data for every page.
MIT License
364 stars 14 forks source link

Investigate differences between lighthouse scores from lighthouse in Chrome vs lighthouse-parade #54

Closed calebeby closed 3 years ago

calebeby commented 3 years ago

We have noticed that lighthouse-parade tends to result in a higher lighthouse scores than lighthouse in Chrome. Typically the difference is ~6-8 pts.

We are going to investigate potential differences that could be causing the discrepancy in scores:

calebeby commented 3 years ago

@emersonthis I did some testing in different chrome/lighthouse versions: https://docs.google.com/spreadsheets/d/1_6vUx34Lzmz58m3FGANWk90QjZ3oG9W87DLBVw9lJus/edit#gid=0

Conclusions:

I only tested on https://www.zachleat.com/. Let me know if you think it's worth testing other sites too

emersonthis commented 3 years ago

Chrome extensions have a significant negative effect on LH score

This is great to know! We think about ways to document this.

It is interesting that lighthouse-parade has the most bell-curve-like shape. It could just be coincidental, but maybe it is because a fresh browser instance is used every time

It's hard to tell with this sample size, right? It seems like what we've established is that LP is delivering the purest results. And this is a good reason for there to be discrepancy between other scores. If we feel confident about this, I don't think there's much need to study exactly why the others are less consistent. (Although outside the context of this project, that could make for an interesting article to write some day. You've already done a chunk of the research. Something like: "Why Your Lighthouse Scores are Wrong")

I'm satisfied enough to close this if you are.

calebeby commented 3 years ago

🎉