These days a lot of my day-to-day work was centered around the loading speed of our pages. And a big bottleneck was unused code. We were serving too much JS and CSS code that was not used by that page.
While looking at how to improve this I've discovered how to use the Coverage tab. Great tool!
It's a bit hidden in the UI. To activate it you will need to press
cmd + shift + p and search in the list for the Coverage tab.
It seems that the coverage tab was around for quite some while, but I've just found out about it only a few days ago 😅.