Add profiling to squash

Incompatible change? There is nothing on disk that relies on this? 

This also highlights it would be nice to have a bigger split between what structs are on disk and which are just ephemeral.