Benchmark for heaps