The main takeaway here is that if you really care about performance, measure don’t guess.
Moreover, usually you can’t see most of the code that is running (e.g: DOM) so it’s even harder to get it right.
The main takeaway here is that if you really care about performance, measure don’t guess.
Moreover, usually you can’t see most of the code that is running (e.g: DOM) so it’s even harder to get it right.