New perf metric: Web bloat score
See original GitHub issueDescription of audit and audit category
Basically, it’s the (total bytes of the webpage) / (bytes of a screenshot of that webpage)
. It’s defined at https://www.webbloatscore.com/.
Explanation of how it’s different from other audits
No other metrics attempt to judge the efficiency of the bytes used.
What % of developers/pages will this impact (estimates OK, data points preferred)
It’s a perf metric… so nearly 100%.
How would the audit appear in the report?
Another perf metric. Maybe like this?
How is the new audit making a better web for end users? (data points preferred)
The weight of a screenshot of the page isn’t typically considered, but serves as a nice reference point that everyone can appreciate. This metric is a lot easier to explain than our other perf metrics. And it addresses a unique measurement that isn’t covered by any existing metrics.
What is the resourcing situation (who will create the audits, maintain the audits, and write/maintain the documentation)
We’re interested in someone contributing this audit. We can help guide them. Once implemented, Lighthouse core team will maintain.
Do you envision this audit in the Lighthouse report or the full config in the CLI? If in the report, which section?
🤔 This is a weird question, Lighthouse.
How much support is needed from the Lighthouse team?
A bushelful.
Any other links or documentation that we should check out?
Nah just https://www.webbloatscore.com/
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:10 (2 by maintainers)
Top GitHub Comments
I wasn’t trying to say that the web bloat score will suffer from variability due to changing screen sizes in Lighthouse. I was using that as another prong in the argument that web bloat score is not a real performance metric, it’s a neat heuristic that summarizes people’s impressions about “waste” on the web in an easy to consume number.
Lighthouse has spent a very long time advocating and refining around metrics that actually measure user perceived performance, and I question the value of this as a performance metric. As a best practices “respect users’ data plan” metric, sounds great! As a perf diagnostic about “using bytes efficiently”, let’s do it! But a performance metric it is not, IMO.
There is an established desktop viewport when you select “desktop” in most environments, so I don’t think this is as big of a concern. You can disable the emulation completely which I believe was the situation @connorjclark was referring to, but it’s not as common and requires specific CLI flags.
https://github.com/GoogleChrome/lighthouse/blob/22e9783642822395884fb3ba5d5ba57f8901ce63/lighthouse-core/lib/emulation.js#L36-L39
Awesome! I have a few thoughts here 😃
Now not to 🌧on the web bloat score parade buuuuuttt…