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

Request list of checks Lighthouse does to write an up to stack pack #10927

Closed
summercms opened this issue Jun 8, 2020 · 2 comments
Closed

Request list of checks Lighthouse does to write an up to stack pack #10927

summercms opened this issue Jun 8, 2020 · 2 comments

Comments

@summercms
Copy link

summercms commented Jun 8, 2020

Hello,

Where can I download a list of all the latest Lighthouse checklists to be able to write our cms pack.

I can give an extra of what I'm talking about, the Wordpress pack says the following:

Metrics

  • Estimated Input Latency
  • First Contentful Paint
  • First CPU Idle
  • First Meaningful Paint
  • Time to Interactive
  • Speed Index

However this is out of date as Google has since created new and exciting metrics such as the Cumulative Layout Shift API etc.

Where can I get a list of all the Lighthouse checks to be able to write an up to date stack pack and also be able to update it with new checks being added in future releases.

Thanks.


Just going to link this issue to our cms to make tracking easier: octobercms/october#4959


I ask here, as the stack pack repo seems dead and very quiet.

@patrickhulce
Copy link
Collaborator

Thanks for filing @ayumi-cloud!

The source of truth for the list of checks is the default-config.js file in this repo.

{id: 'first-contentful-paint', weight: 15, group: 'metrics'},
{id: 'speed-index', weight: 15, group: 'metrics'},
{id: 'largest-contentful-paint', weight: 25, group: 'metrics'},
{id: 'interactive', weight: 15, group: 'metrics'},
{id: 'total-blocking-time', weight: 25, group: 'metrics'},
{id: 'cumulative-layout-shift', weight: 5, group: 'metrics'},
// intentionally left out of metrics group so they won't be displayed
{id: 'first-cpu-idle', weight: 0},
{id: 'max-potential-fid', weight: 0},
{id: 'first-meaningful-paint', weight: 0},
{id: 'estimated-input-latency', weight: 0},
{id: 'render-blocking-resources', weight: 0, group: 'load-opportunities'},
{id: 'uses-responsive-images', weight: 0, group: 'load-opportunities'},
{id: 'offscreen-images', weight: 0, group: 'load-opportunities'},
{id: 'unminified-css', weight: 0, group: 'load-opportunities'},
{id: 'unminified-javascript', weight: 0, group: 'load-opportunities'},
{id: 'unused-css-rules', weight: 0, group: 'load-opportunities'},
{id: 'unused-javascript', weight: 0, group: 'load-opportunities'},
{id: 'uses-optimized-images', weight: 0, group: 'load-opportunities'},
{id: 'uses-webp-images', weight: 0, group: 'load-opportunities'},
{id: 'uses-text-compression', weight: 0, group: 'load-opportunities'},
{id: 'uses-rel-preconnect', weight: 0, group: 'load-opportunities'},
{id: 'server-response-time', weight: 0, group: 'load-opportunities'},
{id: 'redirects', weight: 0, group: 'load-opportunities'},
{id: 'uses-rel-preload', weight: 0, group: 'load-opportunities'},
{id: 'efficient-animated-content', weight: 0, group: 'load-opportunities'},
{id: 'total-byte-weight', weight: 0, group: 'diagnostics'},
{id: 'uses-long-cache-ttl', weight: 0, group: 'diagnostics'},
{id: 'dom-size', weight: 0, group: 'diagnostics'},
{id: 'critical-request-chains', weight: 0, group: 'diagnostics'},
{id: 'user-timings', weight: 0, group: 'diagnostics'},
{id: 'bootup-time', weight: 0, group: 'diagnostics'},
{id: 'mainthread-work-breakdown', weight: 0, group: 'diagnostics'},
{id: 'font-display', weight: 0, group: 'diagnostics'},
{id: 'performance-budget', weight: 0, group: 'budgets'},
{id: 'timing-budget', weight: 0, group: 'budgets'},
{id: 'resource-summary', weight: 0, group: 'diagnostics'},
{id: 'third-party-summary', weight: 0, group: 'diagnostics'},
{id: 'largest-contentful-paint-element', weight: 0, group: 'diagnostics'},
{id: 'layout-shift-elements', weight: 0, group: 'diagnostics'},
{id: 'uses-http2', weight: 0, group: 'diagnostics'},
{id: 'uses-passive-event-listeners', weight: 0, group: 'diagnostics'},
{id: 'no-document-write', weight: 0, group: 'diagnostics'},
{id: 'long-tasks', weight: 0, group: 'diagnostics'},

Anything there you can write a custom description for in a stack pack.

If you're referring to https://github.com/GoogleChrome/lighthouse-stack-packs it's not dead but definitely not as heavily monitored as this one. Make sure you can satisfy the contributing requirements there with your stack pack if you haven't already before investing! :)

@summercms
Copy link
Author

@patrickhulce thank you

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

3 participants