From fa8c30732eb59a9506bdb9731e782b1c037124ec Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 17 Oct 2017 16:16:13 +0200 Subject: pipelinebenchmark --- hawd_defs/pipeline | 10 +++++----- tests/pipelinebenchmark.cpp | 2 +- 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 @@ { "name": "Pipeline write", "description": "Measures performance of the Pipeline", - "columns": { - "rows": { "type": "int" }, - "append": { "type": "float", "unit": "ops/ms" }, - "total": { "type": "float", "unit": "ops/ms" } - } + "columns": [ + { "name": "rows", "type": "int" }, + { "name": "append", "type": "float", "unit": "ops/ms" }, + { "name": "total", "type": "float", "unit": "ops/ms" } + ] } 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 { TestResource::removeFromDisk(resourceIdentifier); - auto pipeline = QSharedPointer::create(Sink::ResourceContext{resourceIdentifier, "test"}, "test"); + auto pipeline = QSharedPointer::create(Sink::ResourceContext{resourceIdentifier, "test", Sink::AdaptorFactoryRegistry::instance().getFactories("test")}, "test"); pipeline->setPreprocessors("mail", preprocessors); QTime time; -- cgit v1.2.3