Fix benchmarks compilation error due to API changes.w
Benchmark map and filter.