Change benchmarking code so it returns comparable values.