From 9a0cafdf3aaeaa5045e71551da506a45c814f45d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 10 Aug 2015 00:51:01 +0200 Subject: DummyResourceBenchmark cleanup. --- tests/dummyresourcebenchmark.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index ed448f0..15b3e29 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp @@ -79,7 +79,7 @@ private Q_SLOTS: { QTime time; time.start(); - int num = 10000; + int num = 100; QList > waitCondition; for (int i = 0; i < num; i++) { Akonadi2::ApplicationDomain::Event event; @@ -126,10 +126,9 @@ private Q_SLOTS: { QTime time; time.start(); - int num = 10000; + int num = 100; auto pipeline = QSharedPointer::create("org.kde.dummy.instance1"); - QSignalSpy revisionSpy(pipeline.data(), SIGNAL(revisionUpdated())); DummyResource resource("org.kde.dummy.instance1", pipeline); flatbuffers::FlatBufferBuilder eventFbb; @@ -175,8 +174,8 @@ private Q_SLOTS: auto allProcessedTime = time.elapsed(); - std::cout << "Append to messagequeue " << appendTime << std::endl; - std::cout << "All processed: " << allProcessedTime << "/sec " << num*1000/allProcessedTime << std::endl; + std::cout << "Append to messagequeue " << appendTime << " /sec " << num*1000/appendTime << std::endl; + std::cout << "All processed: " << allProcessedTime << " /sec " << num*1000/allProcessedTime << std::endl; } void testCreateCommand() -- cgit v1.2.3