How to collect performance statistics with Cabal

from blog The Haskell Programming Language's blog, | ↗ original
The Cabal Manual now has a guide on how to collect performance statistics of Haskell applications.