File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
main/java/com/github/coderodde/util
test/java/com/github/coderodde/util Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1717 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1818 <maven .compiler.source>19</maven .compiler.source>
1919 <maven .compiler.target>19</maven .compiler.target>
20- <exec .mainClass>com.github.coderodde.util.IntSorter </exec .mainClass>
20+ <exec .mainClass>com.github.coderodde.util.ParallelRadixSortBenchmark </exec .mainClass>
2121 </properties >
2222 <name >ParallelRadixSort.java</name >
2323</project >
Original file line number Diff line number Diff line change 33import java .util .Arrays ;
44import java .util .Random ;
55
6- final class ParallelRadixSortBenchmark {
6+ public final class ParallelRadixSortBenchmark {
77
88 private static final int BENCHMARK_ITERATIONS = 20 ;
99 private static final int MAXIMUM_ARRAY_SIZE = 100_000_000 ;
Original file line number Diff line number Diff line change 44import java .util .Random ;
55import static org .junit .Assert .assertEquals ;
66import static org .junit .Assert .assertTrue ;
7- import org .junit .BeforeClass ;
87import org .junit .Test ;
98
109public final class ParallelRadixSortTest {
1110
12- @ BeforeClass
13- public static void setupBeforeClass () {
14- // ParallelRadixSort.setInsertionSortThreshold(-1);
15- // ParallelRadixSort.setMergesortThreshold(-1);
16- // ParallelRadixSort.setMinimumThreadWorkload(-1);
17- }
18-
1911 @ Test
2012 public void testInsertionSort () {
2113 Random random = new Random (13L );
You can’t perform that action at this time.
0 commit comments