moved generation of test for performance tests to inside the performance
loop.