diff options
-rw-r--r-- | hawd_defs/pipeline | 10 | ||||
-rw-r--r-- | 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 @@ | |||
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; |