metacpan / metacpan-web

Web interface for MetaCPAN
http://metacpan.org
Other
418 stars 237 forks source link

webperf - "performance opportunities" per Lighthouse #2309

Open mohawk2 opened 4 years ago

mohawk2 commented 4 years ago

https://webpagetest.org/lighthouse.php?test=200615_WM_8d77c5a1320cf7af7badb20f6f423515&run=1 shows these opportunities to improve:

mohawk2 commented 4 years ago

To capture what the overall test (https://webpagetest.org/result/200615_WM_8d77c5a1320cf7af7badb20f6f423515/) said, in case it goes away:

Lighthouse Perf was 58:

Metric value
First Contentful Paint 2.4 s
Speed Index 2.5 s
Largest Contentful Paint 3.6 s
Time to Interactive 2.4 s
Total Blocking Time 0 ms
Cumulative Layout Shift 0
mohawk2 commented 4 years ago

State of play is now this (https://www.webpagetest.org/result/200620_FC_18726293a28543ae5c46dd91e07dbefe/ - with a differently-formatted URL, confusingly). Showing much better numbers thanks to @haarg fixing #2310. The big win showing there now is the <link rel=preload> on https://metacpan.org/static/fonts/fa-regular-400.woff2, claiming a 2.2s gain available.

mohawk2 commented 4 years ago

Not yet reported here, and giving slightly different suggestions, is the Lighthouse report for the front page rather than for a module: https://www.webpagetest.org/result/200620_YD_c3ac0c1118d819f02bb58894a5673945/

mohawk2 commented 4 years ago

Latest results after the preload merge: https://www.webpagetest.org/result/200627_H1_cdb0345c7dbbe92feb82dead41024788/ (the content has changed slightly)

Metric value
First Contentful Paint 1.5 s
Speed Index 1.5 s
Largest Contentful Paint 1.5 s
Total Blocking Time >= 0.1 s
Cumulative Layout Shift 0
Document Complete 2.5 s