How many threads will run this benchmark concurrently in this example?
@Benchmark
@Threads(8)
public String testThreads() {
Map<Integer, String> map = new HashMap<>();
map.put(1, "A");
return map.get(1);
}How many threads will run this benchmark concurrently in this example?
@Benchmark
@Threads(8)
public String testThreads() {
Map<Integer, String> map = new HashMap<>();
map.put(1, "A");
return map.get(1);
}Create a free account to access the full topic