3 ms·
You’re referring to “tag selectors” vs “class selectors” Engines are now good enough you don’t really have to worry about selector performance unless you’re us
by laundermaf 4y ago
You’re referring to “tag selectors” vs “class selectors”
Engines are now good enough you don’t really have to worry about selector performance unless you’re using ridiculously complex selectors, and even then the least efficient part is actually the layout calculation and painting.
This site is super simple and is super laggy on Safari Mac because they use awkward effects and animated gradient backgrounds, for example: https://colorjs.io/ https://colorjs.io/
- sandreas 4y agoThank you... sounds plausible. Is there a reference or performance test for this you can refer to?