adjust test case

This commit is contained in:
mutouyun 2018-12-14 10:34:45 +08:00
parent 17e923e67a
commit 238f769f7a

View File

@ -80,11 +80,11 @@ void benchmark() {
x = datas[cnt]; x = datas[cnt];
} }
// std::this_thread::sleep_for(std::chrono::milliseconds(1)); // std::this_thread::sleep_for(std::chrono::milliseconds(1));
} if (x == 0) break; // quit
if (x == 0) break; // quit if (x != -1) {
if (x != -1) { seq.push_back(x);
seq.push_back(x); ++cnt;
++cnt; }
} }
std::this_thread::yield(); std::this_thread::yield();
} }