Short addition: In the future, Chrome will also promote
<iframe> ‘s to their own layers.
Also: Don’t forget to apply
contain (look it up on MDN), they also greatly reduce repaints/reflows over the global document. Disadvantage: Slightly lower browser support, but they don’t create new layers.
And then again, npminstall / pnpm is faster than yarn, see: https://github.com/pnpm/node-package-manager-benchmark, https://github.com/cnpm/npminstall#benchmarks and saves a lot of HDD space as it links instead of copying :)
rel="preconnect"too. Maybe helpful?
text-rendering — have you benchmarked it too? See https://css-tricks.com/almanac/properties/t/text-rendering/#article-header-id-2. Exactly your snippet is the “be careful” part of the article I’ve linked to.