From a4d50c33096463e48a608b2e5e3a3bd17b38d652 Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Sat, 18 Dec 2021 19:54:14 +0100 Subject: [PATCH] input reduction for testing on less capable machines --- ypsu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ypsu.cpp b/ypsu.cpp index 8f221ee..a6fc8f6 100644 --- a/ypsu.cpp +++ b/ypsu.cpp @@ -349,7 +349,8 @@ } int main(void) { - int n = 100000000; + //int n = 100000000; + int n = 10000000; for (auto inputtype : inputtypes) { printf("%10s", inputtype.c_str()); fflush(stdout); @@ -382,10 +383,10 @@ w = v; measure(inputtype, "psort", [&] { pagedsort(&w[0], w.size()); }); assert(w == expected); - */ w = v; measure(inputtype, "4pasu", [&] { fourpassu(&w[0], w.size()); }); assert(w == expected); + */ w = v; measure(inputtype, "4rot", [&] { fourrots(&w[0], w.size()); }); assert(w == expected);