ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

amp-youtube performance #35018

Open numannaufal opened 3 years ago

numannaufal commented 3 years ago

Description

We implement but it makes performance drop indicated by low score web-vital, specifically LCP. 480 KB /base.js (youtube.com) with just potential saving to 358 KB. embed-player.js (64KB), potential saving 33.5KB. I expect everything module I use from the AMP site should give the best performance. So the request is: Improve the module performance so It doesn't give a bad score on core vital.

Screen Shot 2021-06-24 at 22 16 03

Alternatives Considered

no alternative. Do you recommend using amp-video instead?

Additional Context

No response

erwinmombay commented 3 years ago

@numannaufal would you mind giving me a specific page that i can inspect?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.