The iteration duration

Report a typo

How many seconds is the duration of the measurement iteration in this benchmark?

    @Benchmark
    @BenchmarkMode(Mode.SampleTime)
    @Fork(1)
    @Warmup(iterations = 5, time = 5)
    @Measurement(iterations = 2, time = 15)
    public String testSampleTime() {
        Map<Integer, String> map = new HashMap<>();
        map.put(1, "A");

        return map.get(1);
    }
Enter a number
___

Create a free account to access the full topic