Update benchmarking code.