diff options
author | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-03-24 11:50:39 -0700 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-03-24 11:50:39 -0700 |
commit | 087ba2b7de05e9922809799754fce7a40bd09698 (patch) | |
tree | c288cec00fdfbccc69b5b0d5a77b6754e23d3654 /Rx/v2/test/subjects | |
parent | 4e02f4b3cbda35b4b92ea07338a28b5703db078b (diff) | |
download | RxCpp-087ba2b7de05e9922809799754fce7a40bd09698.tar.gz |
fix race *and* improve perf in subject
that is rare!
Diffstat (limited to 'Rx/v2/test/subjects')
-rw-r--r-- | Rx/v2/test/subjects/subject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/test/subjects/subject.cpp b/Rx/v2/test/subjects/subject.cpp index ac8ed91..0cec63f 100644 --- a/Rx/v2/test/subjects/subject.cpp +++ b/Rx/v2/test/subjects/subject.cpp @@ -1,5 +1,5 @@ -#define RXCPP_SUBJECT_TEST_ASYNC 1 +#define RXCPP_SUBJECT_TEST_ASYNC 0 #include "rxcpp/rx.hpp" namespace rx=rxcpp; @@ -22,7 +22,7 @@ SCENARIO("subject test", "[hide][subject][subjects][perf]"){ using namespace std::chrono; typedef steady_clock clock; - const int onnextcalls = 10000000; + const int onnextcalls = 100000000; { std::mutex m; |