Improving performance tests