Added more benchmarking code.