diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-25 17:05:16 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-25 17:05:16 +0100 |
commit | 86987a0c6b0d9e1aa4216c5268b83a44e0bae9a4 (patch) | |
tree | e3baa487eda04d23d84077476105c2202762ca9a | |
parent | 9cdb03ed685901b477db46be98b6e272c299b821 (diff) | |
download | sink-86987a0c6b0d9e1aa4216c5268b83a44e0bae9a4.tar.gz sink-86987a0c6b0d9e1aa4216c5268b83a44e0bae9a4.zip |
Comments for the benchmarks
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 3 | ||||
-rw-r--r-- | tests/genericfacadebenchmark.cpp | 3 | ||||
-rw-r--r-- | tests/genericresourcebenchmark.cpp | 3 | ||||
-rw-r--r-- | tests/storagebenchmark.cpp | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index 370acd2..242ac76 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -18,6 +18,9 @@ | |||
18 | 18 | ||
19 | #include <iostream> | 19 | #include <iostream> |
20 | 20 | ||
21 | /** | ||
22 | * Benchmark full system with the dummy resource implementation. | ||
23 | */ | ||
21 | class DummyResourceBenchmark : public QObject | 24 | class DummyResourceBenchmark : public QObject |
22 | { | 25 | { |
23 | Q_OBJECT | 26 | Q_OBJECT |
diff --git a/tests/genericfacadebenchmark.cpp b/tests/genericfacadebenchmark.cpp index 10aabd4..29c91d7 100644 --- a/tests/genericfacadebenchmark.cpp +++ b/tests/genericfacadebenchmark.cpp | |||
@@ -13,6 +13,9 @@ | |||
13 | 13 | ||
14 | 14 | ||
15 | 15 | ||
16 | /** | ||
17 | * Benchmark read performance of the generic facade implementation. | ||
18 | */ | ||
16 | class GenericFacadeBenchmark : public QObject | 19 | class GenericFacadeBenchmark : public QObject |
17 | { | 20 | { |
18 | Q_OBJECT | 21 | Q_OBJECT |
diff --git a/tests/genericresourcebenchmark.cpp b/tests/genericresourcebenchmark.cpp index 1776c81..b8635d7 100644 --- a/tests/genericresourcebenchmark.cpp +++ b/tests/genericresourcebenchmark.cpp | |||
@@ -60,6 +60,9 @@ static QByteArray createEntityBuffer() | |||
60 | return QByteArray(reinterpret_cast<const char *>(fbb.GetBufferPointer()), fbb.GetSize()); | 60 | return QByteArray(reinterpret_cast<const char *>(fbb.GetBufferPointer()), fbb.GetSize()); |
61 | } | 61 | } |
62 | 62 | ||
63 | /** | ||
64 | * Benchmark write performance of generic resource implementation including queues and pipeline. | ||
65 | */ | ||
63 | class GenericResourceBenchmark : public QObject | 66 | class GenericResourceBenchmark : public QObject |
64 | { | 67 | { |
65 | Q_OBJECT | 68 | Q_OBJECT |
diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp index 81fd997..3e7b609 100644 --- a/tests/storagebenchmark.cpp +++ b/tests/storagebenchmark.cpp | |||
@@ -38,6 +38,9 @@ static QByteArray createEvent() | |||
38 | return QByteArray::fromRawData(reinterpret_cast<const char *>(fbb.GetBufferPointer()), fbb.GetSize()); | 38 | return QByteArray::fromRawData(reinterpret_cast<const char *>(fbb.GetBufferPointer()), fbb.GetSize()); |
39 | } | 39 | } |
40 | 40 | ||
41 | /** | ||
42 | * Benchmark the storage implementation. | ||
43 | */ | ||
41 | class StorageBenchmark : public QObject | 44 | class StorageBenchmark : public QObject |
42 | { | 45 | { |
43 | Q_OBJECT | 46 | Q_OBJECT |