Browser Rendering Performance

Comments discuss performance issues in web browsers, focusing on choppy animations, high CPU/GPU usage during rendering, scrolling, reflows, and optimization techniques like GPU acceleration and avoiding DOM thrashing.

➡️ Stable 0.6x Web Development
3,953
Comments
19
Years Active
5
Top Authors
#5422
Topic ID

Activity Over Time

2008
12
2009
41
2010
112
2011
166
2012
222
2013
281
2014
263
2015
245
2016
220
2017
258
2018
175
2019
201
2020
256
2021
285
2022
266
2023
336
2024
270
2025
317
2026
27

Keywords

CPU US JIT JS mozilla.org UI GPU WASM CSS3 OP rendering canvas render css circle animations animation dom cpu js

Sample Comments

amelius Sep 2, 2017 View on HN

Doesn't that cause either stuttering, or flickering in the viewport?

Raphael Nov 30, 2011 View on HN

HTML renderers often have choppy animation and transitions.

bcardarella Jun 4, 2012 View on HN

CSS rendering engines will need to get much faster before anything like this wouldn't feel glitchy or pop-in.

phendrenad2 Mar 4, 2023 View on HN

I've noticed this too, and my guess is they're doing animations on the CPU.

Jweb_Guru May 2, 2015 View on HN

It's definitely not slow at rendering. Network performance isn't great, but try resizing the window.

_bxg1 Feb 16, 2020 View on HN

I wouldn't say "common". If you avoid "DOM thrashing" (where your code repeatedly mutates the DOM and then measures it and then mutates and then measures), the browser is pretty good at batching these computations and the vast majority of projects will never run into this as a problem. And thrashing is something you should solve by improving your JS, not mitigate with this API.

kokanee Jan 2, 2024 View on HN

I'm not going to dive in and play with it, but often it can help to add the CSS rule "transform: translateZ(0)" in order to force rendering to the GPU instead of CPU.

seaofcode Nov 28, 2021 View on HN

Not as fast for rendering complex apps with lots of content…

adamnemecek Sep 26, 2020 View on HN

Immediate rendering consumes an insane amount of CPU.

s_ngularity Oct 10, 2017 View on HN

The GPU is drawing 60 times a second regardless of whether the page is static. Not sure how they do their streaming to the GPU, but there will be state changes every time you scroll, or click a button, etc., even on a static page.