Qt Declarative (Quick 2)
Go to file
Robin Burchell ff1a728e95 tst_compilation: Add a test for compilation of a large number of types
As I'll be touching QQmlImport, it would be good to ensure it doesn't
regress. This may also be useful for future such changes (e.g. I want to
try play around with how the implicit import is handled).

Results for me on a recent dev snapshot, 2013 rmbp:

********* Start testing of tst_compilation *********
Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.0.0 (clang-800.0.42.1) (Apple))
PASS   : tst_compilation::initTestCase()
PASS   : tst_compilation::bigimport(10, qmldir)
RESULT : tst_compilation::bigimport():"10, qmldir":
     3.6 msecs per iteration (total: 59, iterations: 16)
PASS   : tst_compilation::bigimport(100, qmldir)
RESULT : tst_compilation::bigimport():"100, qmldir":
     54 msecs per iteration (total: 54, iterations: 1)
PASS   : tst_compilation::bigimport(1000, qmldir)
RESULT : tst_compilation::bigimport():"1000, qmldir":
     558 msecs per iteration (total: 558, iterations: 1)
PASS   : tst_compilation::bigimport(10, noqmldir)
RESULT : tst_compilation::bigimport():"10, noqmldir":
     5.0 msecs per iteration (total: 80, iterations: 16)
PASS   : tst_compilation::bigimport(100, noqmldir)
RESULT : tst_compilation::bigimport():"100, noqmldir":
     58 msecs per iteration (total: 58, iterations: 1)
PASS   : tst_compilation::bigimport(1000, noqmldir)
RESULT : tst_compilation::bigimport():"1000, noqmldir":
     558 msecs per iteration (total: 558, iterations: 1)
PASS   : tst_compilation::cleanupTestCase()
Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 22400ms
********* Finished testing of tst_compilation *********

Change-Id: I7159e561fb13a3c48e966d5b963dc0ef1ca783e3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2017-01-24 17:37:40 +00:00
config.tests/d3d12 D3D12: Support translucent windows via DirectComposition 2016-07-14 13:05:13 +00:00
dist Add changes file for 5.8.0 2016-12-09 12:14:10 +00:00
examples Remove remnants of blackberry platform support 2017-01-16 17:10:14 +00:00
features Add the skeleton for a D3D12 backend 2016-02-19 14:51:37 +00:00
src QQmlTypeLoader: Deduplicate type resolution code 2017-01-24 17:37:37 +00:00
tests tst_compilation: Add a test for compilation of a large number of types 2017-01-24 17:37:40 +00:00
tools qmltime: Reject 0 iterations 2017-01-18 17:53:50 +00:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Merge remote-tracking branch 'origin/5.7' into dev 2016-08-19 21:22:10 +02:00
.gitmodules Update Ecmascript testsuite submodule 2015-03-17 11:38:42 +00:00
.qmake.conf Bump version 2017-01-03 13:26:24 +01:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
LGPL_EXCEPTION.txt Update copyright headers 2015-02-12 10:28:11 +00:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPL2 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3-EXCEPT Updated license headers 2016-01-20 11:46:25 +00:00
LICENSE.GPLv3 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-16 13:42:07 +00:00
LICENSE.LGPL3 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.LGPLv3 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-16 13:42:07 +00:00
LICENSE.LGPLv21 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" 2016-06-16 13:42:07 +00:00
configure.json Convert qtdeclarative over to use the new configure system 2016-10-10 14:11:39 +00:00
qtdeclarative.pro Convert qtdeclarative over to use the new configure system 2016-10-10 14:11:39 +00:00
sync.profile Merge remote-tracking branch 'origin/5.6' into 5.7 2016-11-15 10:57:49 +01:00