Benchmark for measuring random accesses.