Implemented a log in the UI, redirected Console to it.
Time taken for each step of generation gets printed out to the log.
Reverted change to CompactHeightfield.BoxBlur, actual performance was exactly the same as the original implementation.
Minor (5-10%) performance boost in CompactHeightfield.CalculateDistanceField by shortcutting boundary cell checks.