mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
All unit test working. Next step is to increase performance even more
This commit is contained in:
parent
61af55e335
commit
2ba9d6187c
@ -43,7 +43,7 @@ TEST(ConceptSink, OneHundredSinks) {
|
||||
BoolList flags;
|
||||
IntVector counts;
|
||||
|
||||
size_t NumberOfItems = 2;
|
||||
size_t NumberOfItems = 100;
|
||||
for (size_t index = 0; index < NumberOfItems; ++index) {
|
||||
flags.push_back(make_shared < atomic<bool >> (false));
|
||||
counts.push_back(make_shared < atomic<int >> (0));
|
||||
@ -65,7 +65,7 @@ TEST(ConceptSink, OneHundredSinks) {
|
||||
stream1 << "Hello to 100 receivers :)";
|
||||
worker->save(message1);
|
||||
|
||||
auto& stream2 = message1.get()->stream();
|
||||
auto& stream2 = message2.get()->stream();
|
||||
stream2 << "Hello to 100 receivers :)";
|
||||
worker->save(message2);
|
||||
//worker->save("Hello to 100 receivers :)");
|
||||
|
Loading…
Reference in New Issue
Block a user