summaryrefslogtreecommitdiffstats
path: root/async/autotests/asynctest.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-04-03 18:52:38 +0200
committerDan Vrátil <dvratil@redhat.com>2015-04-04 20:44:17 +0200
commit1cb20215e384712ccbc98f3ecc4711451730c696 (patch)
tree49baf7311589a54b4532b02ff05b1ef4ba2a741e /async/autotests/asynctest.cpp
parent64df12d07dc601d1af660cf50fbd4540d8b5e96e (diff)
downloadsink-1cb20215e384712ccbc98f3ecc4711451730c696.tar.gz
sink-1cb20215e384712ccbc98f3ecc4711451730c696.zip
Async: remove the silly all-tests benchmark
Diffstat (limited to 'async/autotests/asynctest.cpp')
-rw-r--r--async/autotests/asynctest.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/async/autotests/asynctest.cpp b/async/autotests/asynctest.cpp
index 7b8d430..65e604f 100644
--- a/async/autotests/asynctest.cpp
+++ b/async/autotests/asynctest.cpp
@@ -70,7 +70,6 @@ private Q_SLOTS:
70 void testLifetimeWithHandle(); 70 void testLifetimeWithHandle();
71 71
72 void benchmarkSyncThenExecutor(); 72 void benchmarkSyncThenExecutor();
73 void benchmarkAllTests();
74 73
75private: 74private:
76 template<typename T> 75 template<typename T>
@@ -670,34 +669,6 @@ void AsyncTest::benchmarkSyncThenExecutor()
670 } 669 }
671} 670}
672 671
673void AsyncTest::benchmarkAllTests()
674{
675 QBENCHMARK {
676 testSyncPromises();
677 testAsyncPromises();
678 testAsyncPromises2();
679 testNestedAsync();
680 testStartValue();
681
682 testAsyncThen();
683 testSyncThen();
684 testJoinedThen();
685 testVoidThen();
686
687 testAsyncEach();
688 testSyncEach();
689 testJoinedEach();
690 testVoidEach();
691
692 testAsyncReduce();
693 testSyncReduce();
694 testJoinedReduce();
695 testVoidReduce();
696 }
697}
698
699
700
701QTEST_MAIN(AsyncTest); 672QTEST_MAIN(AsyncTest);
702 673
703#include "asynctest.moc" 674#include "asynctest.moc"