Pick a @Measurement annotation with parameters you would add to the benchmark to have 2 measurement iterations in each fork.
@Benchmark
@Fork(3)
@Warmup(iterations = 5)
public String testMethod() {
Map<Integer, String> map = new HashMap<>();
map.put(1, "A");
return map.get(1);
}