spinlock: reduce iterations for testing

4096 iterations should be enough to demonstrate any issues, but still
execute quickly enough for everyday testing
This commit is contained in:
Danny Robson 2018-03-15 23:49:12 +11:00
parent e1d87afe37
commit 5dda5d130a

View File

@ -48,7 +48,7 @@ main ()
if (std::thread::hardware_concurrency () < 2) {
tap.skip ("n-way fight");
} else {
constexpr int iterations = 1 << 16;
constexpr int iterations = 1 << 12;
util::job::flag start_flag;
std::vector<std::thread> contestants;