Performance test code