Benchmark code modified.