Some benchmarking and profiling code for Morepath.