diff options
author | 2014-04-17 16:39:41 -0700 | |
---|---|---|
committer | 2014-04-17 16:39:41 -0700 | |
commit | 3d85000f13842af0284f4bb08ce586bf529b7a76 (patch) | |
tree | a875d3fd4964e3bf7f4b92c70dec3644bd0d1dae /fish_tests.cpp | |
parent | 3d1a204c83c2657b1009a268c9b399edd97ea893 (diff) |
Reduce the iterations in the iothread test to something more reasonable.
Remove an unnecessary lock.
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index d66a319f..382abb39 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -494,7 +494,7 @@ static void test_iothread(void) { say(L"Testing iothreads"); int *int_ptr = new int(0); - int iterations = 5000000; + int iterations = 50000; int max_achieved_thread_count = 0; double start = timef(); for (int i=0; i < iterations; i++) |