Some utilities for help in profiling and timing code, because timeit is wank.