input reduction for testing on less capable machines

This commit is contained in:
Richard Thier 2021-12-18 19:54:14 +01:00
parent da4d122ee1
commit a4d50c3309

View File

@ -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);