From 1cb20215e384712ccbc98f3ecc4711451730c696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Fri, 3 Apr 2015 18:52:38 +0200 Subject: Async: remove the silly all-tests benchmark --- async/autotests/asynctest.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'async') 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: void testLifetimeWithHandle(); void benchmarkSyncThenExecutor(); - void benchmarkAllTests(); private: template @@ -670,34 +669,6 @@ void AsyncTest::benchmarkSyncThenExecutor() } } -void AsyncTest::benchmarkAllTests() -{ - QBENCHMARK { - testSyncPromises(); - testAsyncPromises(); - testAsyncPromises2(); - testNestedAsync(); - testStartValue(); - - testAsyncThen(); - testSyncThen(); - testJoinedThen(); - testVoidThen(); - - testAsyncEach(); - testSyncEach(); - testJoinedEach(); - testVoidEach(); - - testAsyncReduce(); - testSyncReduce(); - testJoinedReduce(); - testVoidReduce(); - } -} - - - QTEST_MAIN(AsyncTest); #include "asynctest.moc" -- cgit v1.2.3