Skip to content

Commit

Permalink
rearrange
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Feb 13, 2024
1 parent 9e52f80 commit 1e72518
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ int run_tests(int64_t *sizes, int sizes_cnt, int type) {
double usec1, usec2, diff;
int64_t * dst = (int64_t *)malloc(MAXSIZE * sizeof(int64_t));
printf("-------\nRunning tests with %s:\n-------\n", test_names[type]);
TEST_STDLIB(qsort);
TEST_SORT_H(quick_sort);
TEST_SORT_H(merge_sort);
//TEST_STDLIB(qsort);
// #if !defined(__linux__) && !defined(__CYGWIN__) && !defined(_WIN32)
// TEST_STDLIB(heapsort);
// TEST_STDLIB(mergesort);
Expand All @@ -303,8 +305,6 @@ int run_tests(int64_t *sizes, int sizes_cnt, int type) {
// TEST_SORT_H(bitonic_sort);
// }

TEST_SORT_H(quick_sort);
TEST_SORT_H(merge_sort);
// TEST_SORT_H(heap_sort);
// TEST_SORT_H(shell_sort);
// TEST_SORT_H(tim_sort);
Expand Down Expand Up @@ -431,7 +431,7 @@ int main(void) {
int i = 0;
int64_t sizes[TESTS];
srand48(SEED);
stable_tests();
//stable_tests();
//fill_random(sizes, TESTS);

for (i = 0; i < TESTS; i++) {
Expand Down

0 comments on commit 1e72518

Please sign in to comment.