summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-17 16:16:13 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-17 16:16:13 +0200
commitfa8c30732eb59a9506bdb9731e782b1c037124ec (patch)
tree83467269e660d8ed944c5cd99704a8e1657a5810
parent249b0fc1f39df819986668d0c82e97e77c23a7c7 (diff)
downloadsink-fa8c30732eb59a9506bdb9731e782b1c037124ec.tar.gz
sink-fa8c30732eb59a9506bdb9731e782b1c037124ec.zip
pipelinebenchmark
-rw-r--r--hawd_defs/pipeline10
-rw-r--r--tests/pipelinebenchmark.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/hawd_defs/pipeline b/hawd_defs/pipeline
index 1998d8c..718a4b5 100644
--- a/hawd_defs/pipeline
+++ b/hawd_defs/pipeline
@@ -1,9 +1,9 @@
1{ 1{
2 "name": "Pipeline write", 2 "name": "Pipeline write",
3 "description": "Measures performance of the Pipeline", 3 "description": "Measures performance of the Pipeline",
4 "columns": { 4 "columns": [
5 "rows": { "type": "int" }, 5 { "name": "rows", "type": "int" },
6 "append": { "type": "float", "unit": "ops/ms" }, 6 { "name": "append", "type": "float", "unit": "ops/ms" },
7 "total": { "type": "float", "unit": "ops/ms" } 7 { "name": "total", "type": "float", "unit": "ops/ms" }
8 } 8 ]
9} 9}
diff --git a/tests/pipelinebenchmark.cpp b/tests/pipelinebenchmark.cpp
index 126e344..9262d65 100644
--- a/tests/pipelinebenchmark.cpp
+++ b/tests/pipelinebenchmark.cpp
@@ -61,7 +61,7 @@ class PipelineBenchmark : public QObject
61 { 61 {
62 TestResource::removeFromDisk(resourceIdentifier); 62 TestResource::removeFromDisk(resourceIdentifier);
63 63
64 auto pipeline = QSharedPointer<Sink::Pipeline>::create(Sink::ResourceContext{resourceIdentifier, "test"}, "test"); 64 auto pipeline = QSharedPointer<Sink::Pipeline>::create(Sink::ResourceContext{resourceIdentifier, "test", Sink::AdaptorFactoryRegistry::instance().getFactories("test")}, "test");
65 pipeline->setPreprocessors("mail", preprocessors); 65 pipeline->setPreprocessors("mail", preprocessors);
66 66
67 QTime time; 67 QTime time;