Benchmark using random data.