Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Calculation of performance score with large bundle size and lots of network requests #16297

Closed
eldoy opened this issue Jan 6, 2025 · 0 comments
Assignees

Comments

@eldoy
Copy link

eldoy commented Jan 6, 2025

Not sure if this is a bug report or a feature request, but the calculation of performance score and best practices seems utterly wrong in many cases. For example, apps that are built using Next.js will often have a bundle size of 1 MB with 2 MB additional content loaded on the first load. There are 30 or so network requests with over half of them being Javascript files. Every single site built with that tech stack is visibly slow and very heavy, yet they are able to score 100% on performance.

My own sites have a bundle size of 0.1MB with 0.1MB extra content, and 3 network requests on load, a single minified JS file is included. This tech stack is much faster, open instantly on first load and on navigation, yet they score the same, also 100%.

How is this possible? One site being slow and heavy yet, the other being lean and fast, why do they get the same score? Or rather, why is large bundles and a high number of network requests not being used in the calculation of performance score and best practices? Shouldn't Lighthouse warn about this or punish slow sites?

Add this to the list of issues in the Lighthouse report please:

  • "Reduce bundle size - use plain HTML, CSS and Javascript to avoid large bundle sizes"
  • "Reduce number of network requests - your site will load faster if you avoid a large number of network requests"

Shouldn't Lighthouse warn about excessive network requests and dissuade people from using inferior tech such as Next.js? If not, why not?

@GoogleChrome GoogleChrome locked and limited conversation to collaborators Jan 7, 2025
@adamraine adamraine converted this issue into discussion #16299 Jan 7, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants