Use dispatch_benchmark to do the timing.