input reduction for testing on less capable machines
This commit is contained in:
parent
da4d122ee1
commit
a4d50c3309
5
ypsu.cpp
5
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user