Benchmark and Optimize.