@Override protected TaskExecutor createTaskExecutor() { final ExecutorService executorService = new ForkJoinPool(BenchmarkRunner.numThreads()); final int minPriorityInc = BenchmarkRunner.minPriority(); final int maxPriorityInc = BenchmarkRunner.maxPriority(); return new GenericTaskExecutor(minPriorityInc, maxPriorityInc, executorService); }
@Override protected TaskExecutor createTaskExecutor() { final int numThreads = BenchmarkRunner.numThreads(); return new StandardWstTaskExecutor(PoolType.JDK, numThreads); }