r/webdev • • Sep 06 '20

This website is lagging my Computer. GPU Video-Decode at almost 100%. What is the cause?

https://ionicframework.com/blog/announcing-ionic-5/
0 Upvotes

9 comments sorted by

2

u/luiluilui4 Sep 06 '20

A few seconds after loading the page the fps drop to around 3 and my Task manager reveals that the Video Decode of the GPU is at 95%-98%.

The website contains around 10 (a little under HD) videos playing at 55fps all on autoplay.

Is that the cause? How can avoid that? Simply stopping the video when out of frame?

2

u/mrbmi513 Sep 06 '20

10 videos all on autoplay

That could be the cause, but it's also bad practice anyway.

1

u/louis-lau Sep 07 '20

The videos only play when in view for me. The site also works smoothly. I don't feel like autoplaying very short clips without audio is bad practice, it's basically better gifs.

3

u/ecafyelims Sep 06 '20

I'm not going to load the page, but probably an embedded crypto miner

1

u/louis-lau Sep 06 '20

In the blog of a pretty well known open source framework?

1

u/anonahnah9 Sep 07 '20

I sure wouldn’t be using that framework after seeing something like that 😳

1

u/louis-lau Sep 07 '20

In this case it seems it's OPs computer which can't keep up with 2 videos playing at once. It's working completely smoothly here.

1

u/anonahnah9 Sep 07 '20

Loading times on my iPhone were horrendous for that page

1

u/archerx Sep 07 '20

Scrolling was very chopy and janky on my iPad