3 ms·
The article suggests not instrumenting layout and paint, though it does mention the double rAF option. Be careful skipping this! It is trivially easy to regres
by yojo 7y ago
The article suggests not instrumenting layout and paint, though it does mention the double rAF option.
Be careful skipping this! It is trivially easy to regress layout perf with CSS property changes and if you’re not instrumenting layout you might not catch it. I’ve personally fixed 300ms P90 regressions from thrashing layout on a button click.