Benchmark memory too.