diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-04-03 18:52:38 +0200 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-04-04 20:44:17 +0200 |
commit | 1cb20215e384712ccbc98f3ecc4711451730c696 (patch) | |
tree | 49baf7311589a54b4532b02ff05b1ef4ba2a741e | |
parent | 64df12d07dc601d1af660cf50fbd4540d8b5e96e (diff) | |
download | sink-1cb20215e384712ccbc98f3ecc4711451730c696.tar.gz sink-1cb20215e384712ccbc98f3ecc4711451730c696.zip |
Async: remove the silly all-tests benchmark
-rw-r--r-- | async/autotests/asynctest.cpp | 29 |
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 | ||
75 | private: | 74 | private: |
76 | template<typename T> | 75 | template<typename T> |
@@ -670,34 +669,6 @@ void AsyncTest::benchmarkSyncThenExecutor() | |||
670 | } | 669 | } |
671 | } | 670 | } |
672 | 671 | ||
673 | void 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 | |||
701 | QTEST_MAIN(AsyncTest); | 672 | QTEST_MAIN(AsyncTest); |
702 | 673 | ||
703 | #include "asynctest.moc" | 674 | #include "asynctest.moc" |