Smarter performance tests