memgraph/tests
florijan 242e75911f Benchmark tx::SingleNodeEngine
Summary:
Results are:
```
I0327 12:22:56.312857 13756] Testing with 1 threads and 100000 transactions per thread...
I0327 12:22:56.337549 13756] Result (millions of transactions per second) 4.07272
I0327 12:22:56.337618 13756] Testing with 2 threads and 100000 transactions per thread...
I0327 12:22:56.449129 13756] Result (millions of transactions per second) 1.79392
I0327 12:22:56.449151 13756] Testing with 4 threads and 100000 transactions per thread...
I0327 12:22:56.821496 13756] Result (millions of transactions per second) 1.07434
I0327 12:22:56.821519 13756] Testing with 8 threads and 100000 transactions per thread...
I0327 12:22:58.265359 13756] Result (millions of transactions per second) 0.554081
I0327 12:22:58.265383 13756] Testing with 16 threads and 100000 transactions per thread...
I0327 12:23:03.978154 13756] Result (millions of transactions per second) 0.280075
```

After changing the lock to `std::mutex`:
```
I0327 12:28:47.493680 14755] Testing with 1 threads and 100000 transactions per thread...
I0327 12:28:47.520134 14755] Result (millions of transactions per second) 3.80314
I0327 12:28:47.520270 14755] Testing with 2 threads and 100000 transactions per thread...
I0327 12:28:47.744608 14755] Result (millions of transactions per second) 0.891592
I0327 12:28:47.744639 14755] Testing with 4 threads and 100000 transactions per thread...
I0327 12:28:48.213151 14755] Result (millions of transactions per second) 0.853791
I0327 12:28:48.213181 14755] Testing with 8 threads and 100000 transactions per thread...
I0327 12:28:49.342561 14755] Result (millions of transactions per second) 0.70836
I0327 12:28:49.342594 14755] Testing with 16 threads and 100000 transactions per thread...
I0327 12:28:51.722991 14755] Result (millions of transactions per second) 0.672164
```

Reviewers: dgleich

Reviewed By: dgleich

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1319
2018-03-27 15:43:59 +02:00
..
benchmark Benchmark tx::SingleNodeEngine 2018-03-27 15:43:59 +02:00
concurrent Refactor network layer to use streams 2018-03-27 15:05:45 +02:00
distributed Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
drivers Add C# driver test examples 2017-11-10 15:46:56 +01:00
macro_benchmark Fix macro bench clients common rethrow 2018-03-16 11:26:04 +01:00
manual Refactor snapshot generators to reduce code duplication 2018-03-22 17:27:45 +01:00
property_based Refactor GraphDb 2018-01-12 16:47:24 +01:00
public_benchmark Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
qa Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
stress Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
unit Refactor network layer to use streams 2018-03-27 15:05:45 +02:00
apollo_runs.py Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Inline test data in the benchmark tests itself 2018-01-15 16:12:30 +01:00