Added a performance test. Can be used with a profiler.