performance tester code