Steps for debugging/measuring performance

This is just a copy-and-paste from https://gist.github.com/markhibberd/084202730dcf08a08720.

Probably worth checking that the command line args are still correct, etc.