Performance tests

I've added a bunch of simple performance tests to use as a backstop for ongoing performance optimisation... e.g. I'm keen to have a tinker with a possible pre-compile step. Shout if you want to do things differently or chat about it