Hacker News new | ask | show | jobs
by ahartmetz 2374 days ago
It's funny because scrolling in this article is a stuttery mess (Firefox on Linux).
10 comments

Yeah, this made my whole browser lag (buttons-shading-five-seconds-after-hover-level lag).

FireFox Quantum on Windows 10 with a pretty badass CPU. Also slow in Opera. Also slow in Vivaldi.

And it crashed Chrome Canary.

For a web-tech post, this is pretty fucking bad.

Works fine for me in Chrome stable on Linux, Mac, Windows and Safari iOS, Mac.

I also tried scrolling a number of different ways - with autoscrolling, mousewheel, page up/down and arrow keys.

All of the machines I tried it on are 4-5 years old except for my iPhone which came out in 2017.

Works fine in Firefox in iOS...
Works fine in Firefox on Deepin as well.
Ironic indeed, but then the blog itself doesn't use React, the slowdown most likely comes from some utility library[1]. The advice in the article may not be discredited, but this shows that learning basic profiling should come before obsessing over framework-specific optimizations.

[1]: https://github.com/aFarkas/lazysizes

Crashed my phone... (Chrome on Android, though pretty old Sony Experia)
Repeatedly crashed Chrome on my Pixel 3, even when I tried to close the tab. Had to switch tabs, then close it, to get it out of that little loop.
Same here with a Vernee Mix2
For anyone else suffering stuttering, a reminder that most browsers support reader mode which makes it silky smooth again. For Firefox its the page icon in the navbar.
I forgot about it for so long but I use it more and more lately.

It works great.

It is a stuttery mess in Firefox + Windows 10 also.
Stuttery mess on Chrome on Android as well.
In fact, crashes Chrome on my Pixel 3.
It crashes Firefox on my pixel 3. Funny.
It gets better: disable JS and read the article without the stuttering. I am a performance advocate, too!
It works great in Chrome on my 2019 MBP over commercial high speed internet!
FWIW I have a $150 crap phone and the mobile version, while looking a little scruffy, loaded in 3 seconds and scrolled fast to the bottom no problem.
I think it's all those videos/gif in autoplay.
Nah, its throwing a ton of Promise errors.
Works fine on safari iOS iPhone 6