Convert remaining tests/benchmarks

Change-Id: Ie7d49d4dc5bf6b2345b54f6bdfffcd974123f729
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-28 16:23:01 +01:00
parent cd9813d276
commit 344e4ec827
142 changed files with 2515 additions and 24 deletions

View File

@ -0,0 +1,19 @@
# Generated from benchmarks.pro.
add_subdirectory(corelib)
add_subdirectory(sql)
if(TARGET Qt::DBus)
add_subdirectory(dbus)
endif()
if(TARGET Qt::Gui)
add_subdirectory(gui)
endif()
if(TARGET Qt::Network)
add_subdirectory(network)
endif()
if(TARGET Qt::Test)
add_subdirectory(testlib)
endif()
if(TARGET Qt::Widgets)
add_subdirectory(widgets)
endif()

View File

@ -0,0 +1,12 @@
# Generated from corelib.pro.
add_subdirectory(io)
add_subdirectory(json)
add_subdirectory(mimetypes)
add_subdirectory(kernel)
add_subdirectory(text)
add_subdirectory(thread)
add_subdirectory(time)
add_subdirectory(tools)
add_subdirectory(codecs)
add_subdirectory(plugin)

View File

@ -0,0 +1,3 @@
# Generated from codecs.pro.
add_subdirectory(qtextcodec)

View File

@ -0,0 +1,15 @@
# Generated from qtextcodec.pro.
#####################################################################
## tst_bench_qtextcodec Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtextcodec
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtextcodec.pro:<TRUE>:
# TESTDATA = "utf-8.txt"

View File

@ -0,0 +1,12 @@
# Generated from io.pro.
add_subdirectory(qdir)
add_subdirectory(qdiriterator)
add_subdirectory(qfile)
add_subdirectory(qfileinfo)
add_subdirectory(qiodevice)
add_subdirectory(qtemporaryfile)
add_subdirectory(qtextstream)
if(QT_FEATURE_process)
add_subdirectory(qprocess)
endif()

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qdir_10000 SOURCES bench_qdir_10000.cpp)
# Generated from 10000.pro.
#####################################################################
## tst_bench_qdir_10000 Binary:
#####################################################################
add_qt_benchmark(tst_bench_qdir_10000
SOURCES
bench_qdir_10000.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:10000.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,3 @@
# Generated from qdir.pro.
add_subdirectory(10000)

View File

@ -0,0 +1,28 @@
# Generated from tree.pro.
#####################################################################
## bench_qdir_tree Binary:
#####################################################################
add_qt_benchmark(bench_qdir_tree
SOURCES
bench_qdir_tree.cpp
PUBLIC_LIBRARIES
Qt::Test
)
# Resources:
set(bench_qdir_tree_resource_files
"4.6.0-list.txt"
)
add_qt_resource(bench_qdir_tree "bench_qdir_tree"
PREFIX
"/"
FILES
${bench_qdir_tree_resource_files}
)
#### Keys ignored in scope 1:.:.:tree.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,13 @@
# Generated from qdiriterator.pro.
#####################################################################
## tst_bench_qdiriterator Binary:
#####################################################################
add_qt_benchmark(tst_bench_qdiriterator
SOURCES
main.cpp
qfilesystemiterator.cpp qfilesystemiterator.h
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,25 @@
# Generated from qfile.pro.
#####################################################################
## tst_bench_qfile Binary:
#####################################################################
add_qt_benchmark(tst_bench_qfile
SOURCES
main.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qfile.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
extend_target(tst_bench_qfile CONDITION WIN32
DEFINES
_CRT_SECURE_NO_WARNINGS
)

View File

@ -0,0 +1,17 @@
# Generated from qfileinfo.pro.
#####################################################################
## tst_bench_qfileinfo Binary:
#####################################################################
add_qt_benchmark(tst_bench_qfileinfo
SOURCES
main.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qfileinfo.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,15 @@
# Generated from qiodevice.pro.
#####################################################################
## tst_bench_qiodevice Binary:
#####################################################################
add_qt_benchmark(tst_bench_qiodevice
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qiodevice.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,4 @@
# Generated from qprocess.pro.
add_subdirectory(testProcessLoopback)
add_subdirectory(test)

View File

@ -1,5 +1,14 @@
add_qt_test(../tst_bench_qprocess SOURCES
# Generated from test.pro.
#####################################################################
## tst_bench_qprocess Binary:
#####################################################################
add_qt_benchmark(tst_bench_qprocess
SOURCES
../tst_bench_qprocess.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,21 @@
# Generated from testProcessLoopback.pro.
#####################################################################
## testProcessLoopback Binary:
#####################################################################
add_qt_benchmark(testProcessLoopback
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Gui
)
## Scopes:
#####################################################################
extend_target(testProcessLoopback CONDITION WINRT
LINK_OPTIONS
"/ENTRY:mainCRTStartup"
)

View File

@ -0,0 +1,15 @@
# Generated from qtemporaryfile.pro.
#####################################################################
## tst_bench_qtemporaryfile Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtemporaryfile
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtemporaryfile.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,15 @@
# Generated from qtextstream.pro.
#####################################################################
## tst_bench_qtextstream Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtextstream
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtextstream.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,23 @@
# Generated from qurl.pro.
#####################################################################
## tst_qurl Binary:
#####################################################################
add_qt_benchmark(tst_qurl
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qurl.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
extend_target(tst_qurl CONDITION WIN32
DEFINES
_CRT_SECURE_NO_WARNINGS
)

View File

@ -0,0 +1,15 @@
# Generated from json.pro.
#####################################################################
## tst_bench_qtbinaryjson Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtbinaryjson
SOURCES
tst_bench_qtbinaryjson.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:json.pro:<TRUE>:
# TESTDATA = "numbers.json" "test.json"

View File

@ -0,0 +1,11 @@
# Generated from kernel.pro.
add_subdirectory(events)
add_subdirectory(qmetatype)
add_subdirectory(qvariant)
add_subdirectory(qcoreapplication)
add_subdirectory(qtimer_vs_qmetaobject)
if(TARGET Qt::Widgets)
add_subdirectory(qmetaobject)
add_subdirectory(qobject)
endif()

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_events SOURCES main.cpp)
# Generated from events.pro.
#####################################################################
## tst_bench_events Binary:
#####################################################################
add_qt_benchmark(tst_bench_events
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:events.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qcoreapplication SOURCES main.cpp)
# Generated from qcoreapplication.pro.
#####################################################################
## tst_bench_qcoreapplication Binary:
#####################################################################
add_qt_benchmark(tst_bench_qcoreapplication
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qcoreapplication.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,17 @@
# Generated from qmetaobject.pro.
#####################################################################
## tst_bench_qmetaobject Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmetaobject
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qmetaobject.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qmetatype SOURCES tst_qmetatype.cpp)
# Generated from qmetatype.pro.
#####################################################################
## tst_bench_qmetatype Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmetatype
SOURCES
tst_qmetatype.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qmetatype.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,18 @@
# Generated from qobject.pro.
#####################################################################
## tst_bench_qobject Binary:
#####################################################################
add_qt_benchmark(tst_bench_qobject
SOURCES
main.cpp
object.cpp object.h
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qobject.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,18 @@
# Generated from qtimer_vs_qmetaobject.pro.
#####################################################################
## qtimer_vs_qmetaobject Binary:
#####################################################################
add_qt_benchmark(qtimer_vs_qmetaobject
SOURCES
tst_qtimer_vs_qmetaobject.cpp
INCLUDE_DIRECTORIES
.
PUBLIC_LIBRARIES
Qt::Test
Threads::Threads
)
#### Keys ignored in scope 1:.:.:qtimer_vs_qmetaobject.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,21 @@
# Generated from qvariant.pro.
#####################################################################
## tst_bench_qvariant Binary:
#####################################################################
add_qt_benchmark(tst_bench_qvariant
SOURCES
tst_qvariant.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
## Scopes:
#####################################################################
extend_target(tst_bench_qvariant CONDITION NOT TARGET Qt::Gui
PUBLIC_LIBRARIES
# Remove: gui
)

View File

@ -0,0 +1,3 @@
# Generated from mimetypes.pro.
add_subdirectory(qmimedatabase)

View File

@ -1 +1,12 @@
add_qt_test(tst_bench_qmimedatabase SOURCES main.cpp)
# Generated from qmimedatabase.pro.
#####################################################################
## tst_bench_qmimedatabase Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmimedatabase
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,3 @@
# Generated from plugin.pro.
add_subdirectory(quuid)

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_quuid SOURCES tst_quuid.cpp)
# Generated from quuid.pro.
#####################################################################
## tst_bench_quuid Binary:
#####################################################################
add_qt_benchmark(tst_bench_quuid
SOURCES
tst_quuid.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:quuid.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,10 @@
# Generated from text.pro.
add_subdirectory(qbytearray)
add_subdirectory(qchar)
add_subdirectory(qlocale)
add_subdirectory(qstringbuilder)
add_subdirectory(qstringlist)
if(GCC)
add_subdirectory(qstring)
endif()

View File

@ -0,0 +1,16 @@
# Generated from qbytearray.pro.
#####################################################################
## tst_bench_qbytearray Binary:
#####################################################################
add_qt_benchmark(tst_bench_qbytearray
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qbytearray.pro:<TRUE>:
# TEMPLATE = "app"
# TESTDATA = "main.cpp"

View File

@ -0,0 +1,12 @@
# Generated from qchar.pro.
#####################################################################
## tst_bench_qchar Binary:
#####################################################################
add_qt_benchmark(tst_bench_qchar
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,12 @@
# Generated from qlocale.pro.
#####################################################################
## tst_bench_qlocale Binary:
#####################################################################
add_qt_benchmark(tst_bench_qlocale
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,46 @@
# Generated from qregexp.pro.
#####################################################################
## tst_bench_qregexp Binary:
#####################################################################
add_qt_benchmark(tst_bench_qregexp
EXCEPTIONS
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
# Resources:
set(qregexp_resource_files
"main.cpp"
)
add_qt_resource(tst_bench_qregexp "qregexp"
PREFIX
"/"
FILES
${qregexp_resource_files}
)
#### Keys ignored in scope 1:.:.:qregexp.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
extend_target(tst_bench_qregexp CONDITION TARGET Qt::Script AND NOT pcre
DEFINES
HAVE_JSC
PUBLIC_LIBRARIES
Qt::Script
)
extend_target(tst_bench_qregexp CONDITION (NOT QNX) AND (EXISTS _ss_[QT_SYSROOT]/usr/include/boost/regex.hpp)
DEFINES
HAVE_BOOST
PUBLIC_LIBRARIES
boost_regex
)

View File

@ -0,0 +1,12 @@
# Generated from qstring.pro.
#####################################################################
## tst_bench_qstring Binary:
#####################################################################
add_qt_benchmark(tst_bench_qstring
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,18 @@
# Generated from qstringbuilder.pro.
#####################################################################
## tst_bench_qstringbuilder Binary:
#####################################################################
add_qt_benchmark(tst_bench_qstringbuilder
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
COMPILE_OPTIONS
-g
)
#### Keys ignored in scope 1:.:.:qstringbuilder.pro:<TRUE>:
# QMAKE_CFLAGS = "-g"
# TEMPLATE = "app"

View File

@ -0,0 +1,12 @@
# Generated from qstringlist.pro.
#####################################################################
## tst_bench_qstringlist Binary:
#####################################################################
add_qt_benchmark(tst_bench_qstringlist
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,7 @@
# Generated from thread.pro.
add_subdirectory(qmutex)
add_subdirectory(qreadwritelock)
add_subdirectory(qthreadstorage)
add_subdirectory(qthreadpool)
add_subdirectory(qwaitcondition)

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qmutex SOURCES tst_qmutex.cpp)
# Generated from qmutex.pro.
#####################################################################
## tst_bench_qmutex Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmutex
SOURCES
tst_qmutex.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qmutex.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,17 @@
# Generated from qreadwritelock.pro.
#####################################################################
## tst_bench_qreadwritelock Binary:
#####################################################################
add_qt_benchmark(tst_bench_qreadwritelock
SOURCES
tst_qreadwritelock.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qreadwritelock.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qthreadpool SOURCES tst_qthreadpool.cpp)
# Generated from qthreadpool.pro.
#####################################################################
## tst_bench_qthreadpool Binary:
#####################################################################
add_qt_benchmark(tst_bench_qthreadpool
SOURCES
tst_qthreadpool.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qthreadpool.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qthreadstorage SOURCES tst_qthreadstorage.cpp)
# Generated from qthreadstorage.pro.
#####################################################################
## tst_bench_qthreadstorage Binary:
#####################################################################
add_qt_benchmark(tst_bench_qthreadstorage
SOURCES
tst_qthreadstorage.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qthreadstorage.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_qwaitcondition SOURCES tst_qwaitcondition.cpp)
# Generated from qwaitcondition.pro.
#####################################################################
## tst_bench_qwaitcondition Binary:
#####################################################################
add_qt_benchmark(tst_bench_qwaitcondition
SOURCES
tst_qwaitcondition.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qwaitcondition.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,5 @@
# Generated from time.pro.
add_subdirectory(qdate)
add_subdirectory(qdatetime)
add_subdirectory(qtimezone)

View File

@ -0,0 +1,12 @@
# Generated from qdate.pro.
#####################################################################
## tst_bench_qdate Binary:
#####################################################################
add_qt_benchmark(tst_bench_qdate
SOURCES
tst_bench_qdate.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,12 @@
# Generated from qdatetime.pro.
#####################################################################
## tst_bench_qdatetime Binary:
#####################################################################
add_qt_benchmark(tst_bench_qdatetime
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,12 @@
# Generated from qtimezone.pro.
#####################################################################
## tst_bench_qtimezone Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtimezone
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,13 @@
# Generated from tools.pro.
add_subdirectory(containers-associative)
add_subdirectory(containers-sequential)
add_subdirectory(qcontiguouscache)
add_subdirectory(qcryptographichash)
add_subdirectory(qlist)
add_subdirectory(qmap)
add_subdirectory(qrect)
add_subdirectory(qringbuffer)
add_subdirectory(qstack)
add_subdirectory(qvector)
add_subdirectory(qalgorithms)

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_containers-associative SOURCES main.cpp)
# Generated from containers-associative.pro.
#####################################################################
## tst_bench_containers-associative Binary:
#####################################################################
add_qt_benchmark(tst_bench_containers-associative
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:containers-associative.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,15 @@
add_qt_test(tst_bench_containers-sequential SOURCES main.cpp)
# Generated from containers-sequential.pro.
#####################################################################
## tst_bench_containers-sequential Binary:
#####################################################################
add_qt_benchmark(tst_bench_containers-sequential
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:containers-sequential.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1 +1,12 @@
add_qt_test(tst_bench_qalgorithms SOURCES tst_qalgorithms.cpp)
# Generated from qalgorithms.pro.
#####################################################################
## tst_bench_qalgorithms Binary:
#####################################################################
add_qt_benchmark(tst_bench_qalgorithms
SOURCES
tst_qalgorithms.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,12 @@
# Generated from qcontiguouscache.pro.
#####################################################################
## tst_bench_qcontiguouscache Binary:
#####################################################################
add_qt_benchmark(tst_bench_qcontiguouscache
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,12 @@
# Generated from qcryptographichash.pro.
#####################################################################
## tst_bench_qcryptographichash Binary:
#####################################################################
add_qt_benchmark(tst_bench_qcryptographichash
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,15 @@
# Generated from qhash.pro.
#####################################################################
## tst_hash Binary:
#####################################################################
add_qt_benchmark(tst_hash
SOURCES
main.cpp
outofline.cpp
INCLUDE_DIRECTORIES
.
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -1 +1,12 @@
add_qt_test(tst_bench_qlist SOURCES main.cpp)
# Generated from qlist.pro.
#####################################################################
## tst_bench_qlist Binary:
#####################################################################
add_qt_benchmark(tst_bench_qlist
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,14 @@
# Generated from qmap.pro.
#####################################################################
## tst_bench_qmap Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmap
SOURCES
main.cpp
INCLUDE_DIRECTORIES
.
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,15 @@
# Generated from qrect.pro.
#####################################################################
## tst_bench_qrect Binary:
#####################################################################
add_qt_benchmark(tst_bench_qrect
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qrect.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,17 @@
# Generated from qringbuffer.pro.
#####################################################################
## tst_bench_qringbuffer Binary:
#####################################################################
add_qt_benchmark(tst_bench_qringbuffer
SOURCES
main.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:qringbuffer.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,12 @@
# Generated from qset.pro.
#####################################################################
## tst_qset Binary:
#####################################################################
add_qt_benchmark(tst_qset
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,14 @@
# Generated from qstack.pro.
#####################################################################
## tst_bench_stack Binary:
#####################################################################
add_qt_benchmark(tst_bench_stack
SOURCES
main.cpp
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,17 @@
# Generated from qvector.pro.
#####################################################################
## tst_bench_vector Binary:
#####################################################################
add_qt_benchmark(tst_bench_vector
SOURCES
main.cpp
outofline.cpp
INCLUDE_DIRECTORIES
.
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Test
)

View File

@ -0,0 +1,6 @@
# Generated from dbus.pro.
add_subdirectory(qdbustype)
if(QT_FEATURE_process)
add_subdirectory(qdbusperformance)
endif()

View File

@ -0,0 +1,4 @@
# Generated from qdbusperformance.pro.
add_subdirectory(server)
add_subdirectory(test)

View File

@ -0,0 +1,15 @@
# Generated from server.pro.
#####################################################################
## server Binary:
#####################################################################
add_qt_benchmark(server
GUI
OUTPUT_DIRECTORY "."
SOURCES
../serverobject.h
server.cpp
PUBLIC_LIBRARIES
Qt::DBus
)

View File

@ -0,0 +1,14 @@
# Generated from test.pro.
#####################################################################
## tst_qdbusperformance Binary:
#####################################################################
add_qt_benchmark(tst_qdbusperformance
SOURCES
../serverobject.h
../tst_qdbusperformance.cpp
PUBLIC_LIBRARIES
Qt::DBus
Qt::Test
)

View File

@ -0,0 +1,31 @@
# Generated from qdbustype.pro.
#####################################################################
## tst_bench_qdbustype Binary:
#####################################################################
add_qt_benchmark(tst_bench_qdbustype
SOURCES
main.cpp
LIBRARIES
Qt::CorePrivate
Qt::DBusPrivate
PUBLIC_LIBRARIES
Qt::DBus
Qt::Test
)
## Scopes:
#####################################################################
extend_target(tst_bench_qdbustype CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
PUBLIC_LIBRARIES
dbus-1
)
extend_target(tst_bench_qdbustype CONDITION NOT QT_FEATURE_dbus_linked
SOURCES
../../../../src/dbus/qdbus_symbols.cpp
)

View File

@ -0,0 +1,8 @@
# Generated from gui.pro.
add_subdirectory(animation)
add_subdirectory(image)
add_subdirectory(kernel)
add_subdirectory(math3d)
add_subdirectory(painting)
add_subdirectory(text)

View File

@ -0,0 +1,5 @@
# Generated from animation.pro.
if(TARGET Qt::Widgets)
add_subdirectory(qanimation)
endif()

View File

@ -0,0 +1,17 @@
# Generated from qanimation.pro.
#####################################################################
## tst_bench_qanimation Binary:
#####################################################################
add_qt_benchmark(tst_bench_qanimation
SOURCES
dummyanimation.cpp dummyanimation.h
dummyobject.cpp dummyobject.h
main.cpp
rectanimation.cpp rectanimation.h
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)

View File

@ -0,0 +1,8 @@
# Generated from image.pro.
add_subdirectory(blendbench)
add_subdirectory(qimageconversion)
add_subdirectory(qimagereader)
add_subdirectory(qimagescale)
add_subdirectory(qpixmap)
add_subdirectory(qpixmapcache)

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_blendbench SOURCES
# Generated from blendbench.pro.
#####################################################################
## tst_bench_blendbench Binary:
#####################################################################
add_qt_benchmark(tst_bench_blendbench
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:blendbench.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,30 @@
# Generated from qimageconversion.pro.
#####################################################################
## tst_bench_imageConversion Binary:
#####################################################################
add_qt_benchmark(tst_bench_imageConversion
SOURCES
tst_qimageconversion.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qimageconversion.pro:<TRUE>:
# QT_FOR_CONFIG = "gui-private"
# TEMPLATE = "app"
## Scopes:
#####################################################################
extend_target(tst_bench_imageConversion CONDITION QT_FEATURE_gif
DEFINES
QTEST_HAVE_GIF
)
extend_target(tst_bench_imageConversion CONDITION QT_FEATURE_jpeg
DEFINES
QTEST_HAVE_JPEG
)

View File

@ -0,0 +1,31 @@
# Generated from qimagereader.pro.
#####################################################################
## tst_bench_qimagereader Binary:
#####################################################################
add_qt_benchmark(tst_bench_qimagereader
SOURCES
tst_qimagereader.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qimagereader.pro:<TRUE>:
# QT_FOR_CONFIG = "gui-private"
# TEMPLATE = "app"
# TESTDATA = "images/*"
## Scopes:
#####################################################################
extend_target(tst_bench_qimagereader CONDITION QT_FEATURE_gif
DEFINES
QTEST_HAVE_GIF
)
extend_target(tst_bench_qimagereader CONDITION QT_FEATURE_jpeg
DEFINES
QTEST_HAVE_JPEG
)

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_imageScale SOURCES
# Generated from qimagescale.pro.
#####################################################################
## tst_bench_imageScale Binary:
#####################################################################
add_qt_benchmark(tst_bench_imageScale
SOURCES
tst_qimagescale.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qimagescale.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,18 @@
# Generated from qpixmap.pro.
#####################################################################
## tst_bench_qpixmap Binary:
#####################################################################
add_qt_benchmark(tst_bench_qpixmap
SOURCES
tst_qpixmap.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qpixmap.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qpixmapcache SOURCES
# Generated from qpixmapcache.pro.
#####################################################################
## tst_bench_qpixmapcache Binary:
#####################################################################
add_qt_benchmark(tst_bench_qpixmapcache
SOURCES
tst_qpixmapcache.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qpixmapcache.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,4 @@
# Generated from kernel.pro.
add_subdirectory(qguimetatype)
add_subdirectory(qguivariant)

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qguimetatype SOURCES
# Generated from qguimetatype.pro.
#####################################################################
## tst_bench_qguimetatype Binary:
#####################################################################
add_qt_benchmark(tst_bench_qguimetatype
SOURCES
tst_qguimetatype.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qguimetatype.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qguivariant SOURCES
# Generated from qguivariant.pro.
#####################################################################
## tst_bench_qguivariant Binary:
#####################################################################
add_qt_benchmark(tst_bench_qguivariant
SOURCES
tst_qguivariant.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qguivariant.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,4 @@
# Generated from math3d.pro.
add_subdirectory(qmatrix4x4)
add_subdirectory(qquaternion)

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qmatrix4x4 SOURCES
# Generated from qmatrix4x4.pro.
#####################################################################
## tst_bench_qmatrix4x4 Binary:
#####################################################################
add_qt_benchmark(tst_bench_qmatrix4x4
SOURCES
tst_qmatrix4x4.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qmatrix4x4.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qquaternion SOURCES
# Generated from qquaternion.pro.
#####################################################################
## tst_bench_qquaternion Binary:
#####################################################################
add_qt_benchmark(tst_bench_qquaternion
SOURCES
tst_qquaternion.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qquaternion.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,11 @@
# Generated from painting.pro.
add_subdirectory(drawtexture)
add_subdirectory(qcolor)
add_subdirectory(qregion)
add_subdirectory(qtransform)
add_subdirectory(lancebench)
if(TARGET Qt::Widgets)
add_subdirectory(qpainter)
add_subdirectory(qtbench)
endif()

View File

@ -0,0 +1,18 @@
# Generated from drawtexture.pro.
#####################################################################
## tst_bench_drawtexture Binary:
#####################################################################
add_qt_benchmark(tst_bench_drawtexture
SOURCES
tst_drawtexture.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:drawtexture.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,150 @@
# Generated from lancebench.pro.
#####################################################################
## tst_bench_lancebench Binary:
#####################################################################
add_qt_benchmark(tst_bench_lancebench
SOURCES
../../../../auto/other/lancelot/paintcommands.cpp ../../../../auto/other/lancelot/paintcommands.h
tst_lancebench.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
# Resources:
set_source_files_properties("../../../../auto/other/lancelot/images/alpha.png"
PROPERTIES QT_RESOURCE_ALIAS "images/alpha.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/alpha2x2.png"
PROPERTIES QT_RESOURCE_ALIAS "images/alpha2x2.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/bitmap.png"
PROPERTIES QT_RESOURCE_ALIAS "images/bitmap.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/border.png"
PROPERTIES QT_RESOURCE_ALIAS "images/border.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/borderimage.png"
PROPERTIES QT_RESOURCE_ALIAS "images/borderimage.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_argb32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_argb32.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_indexed.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_indexed.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_indexed_mask.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_indexed_mask.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono_128.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono_128.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono_palette.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono_palette.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dome_rgb32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dome_rgb32.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/dot.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dot.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/face.png"
PROPERTIES QT_RESOURCE_ALIAS "images/face.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/gam030.png"
PROPERTIES QT_RESOURCE_ALIAS "images/gam030.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/gam045.png"
PROPERTIES QT_RESOURCE_ALIAS "images/gam045.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/gam056.png"
PROPERTIES QT_RESOURCE_ALIAS "images/gam056.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/gam100.png"
PROPERTIES QT_RESOURCE_ALIAS "images/gam100.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/gam200.png"
PROPERTIES QT_RESOURCE_ALIAS "images/gam200.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/image.png"
PROPERTIES QT_RESOURCE_ALIAS "images/image.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/mask.png"
PROPERTIES QT_RESOURCE_ALIAS "images/mask.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/mask_100.png"
PROPERTIES QT_RESOURCE_ALIAS "images/mask_100.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/masked.png"
PROPERTIES QT_RESOURCE_ALIAS "images/masked.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/sign.png"
PROPERTIES QT_RESOURCE_ALIAS "images/sign.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/solid.png"
PROPERTIES QT_RESOURCE_ALIAS "images/solid.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/solid2x2.png"
PROPERTIES QT_RESOURCE_ALIAS "images/solid2x2.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/struct-image-01.jpg"
PROPERTIES QT_RESOURCE_ALIAS "images/struct-image-01.jpg"
)
set_source_files_properties("../../../../auto/other/lancelot/images/struct-image-01.png"
PROPERTIES QT_RESOURCE_ALIAS "images/struct-image-01.png"
)
set_source_files_properties("../../../../auto/other/lancelot/images/zebra.png"
PROPERTIES QT_RESOURCE_ALIAS "images/zebra.png"
)
set(images_resource_files
"images/alpha.png"
"images/alpha2x2.png"
"images/bitmap.png"
"images/border.png"
"images/borderimage.png"
"images/dome_argb32.png"
"images/dome_indexed.png"
"images/dome_indexed_mask.png"
"images/dome_mono.png"
"images/dome_mono_128.png"
"images/dome_mono_palette.png"
"images/dome_rgb32.png"
"images/dot.png"
"images/face.png"
"images/gam030.png"
"images/gam045.png"
"images/gam056.png"
"images/gam100.png"
"images/gam200.png"
"images/image.png"
"images/mask.png"
"images/mask_100.png"
"images/masked.png"
"images/sign.png"
"images/solid.png"
"images/solid2x2.png"
"images/struct-image-01.jpg"
"images/struct-image-01.png"
"images/zebra.png"
)
add_qt_resource(tst_bench_lancebench "images"
PREFIX
"/"
BASE
"../../../../auto/other/lancelot"
FILES
${images_resource_files}
)
#### Keys ignored in scope 1:.:.:lancebench.pro:<TRUE>:
# TEMPLATE = "app"
# TESTDATA = "../../../../auto/other/lancelot/scripts/*"

View File

@ -0,0 +1,18 @@
# Generated from qcolor.pro.
#####################################################################
## tst_bench_qcolor Binary:
#####################################################################
add_qt_benchmark(tst_bench_qcolor
SOURCES
tst_qcolor.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qcolor.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,20 @@
# Generated from qpainter.pro.
#####################################################################
## tst_bench_qpainter Binary:
#####################################################################
add_qt_benchmark(tst_bench_qpainter
SOURCES
tst_qpainter.cpp
LIBRARIES
Qt::GuiPrivate
Qt::WidgetsPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qpainter.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,16 @@
# Generated from qregion.pro.
#####################################################################
## tst_bench_qregion Binary:
#####################################################################
add_qt_benchmark(tst_bench_qregion
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qregion.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,17 @@
# Generated from qtbench.pro.
#####################################################################
## tst_bench_qtbench Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtbench
SOURCES
tst_qtbench.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qtbench.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_qtransform SOURCES
# Generated from qtransform.pro.
#####################################################################
## tst_bench_qtransform Binary:
#####################################################################
add_qt_benchmark(tst_bench_qtransform
SOURCES
tst_qtransform.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtransform.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,5 @@
# Generated from text.pro.
add_subdirectory(qfontmetrics)
add_subdirectory(qtext)
add_subdirectory(qtextdocument)

View File

@ -1,3 +1,16 @@
add_qt_test(tst_bench_QFontMetrics SOURCES
# Generated from qfontmetrics.pro.
#####################################################################
## tst_bench_QFontMetrics Binary:
#####################################################################
add_qt_benchmark(tst_bench_QFontMetrics
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qfontmetrics.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,19 @@
# Generated from qtext.pro.
#####################################################################
## tst_bench_QText Binary:
#####################################################################
add_qt_benchmark(tst_bench_QText
SOURCES
main.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtext.pro:<TRUE>:
# TEMPLATE = "app"
# TESTDATA = "bidi.txt"

View File

@ -0,0 +1,18 @@
# Generated from qtextdocument.pro.
#####################################################################
## tst_bench_QTextDocument Binary:
#####################################################################
add_qt_benchmark(tst_bench_QTextDocument
SOURCES
main.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Test
)
#### Keys ignored in scope 1:.:.:qtextdocument.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,8 @@
# Generated from network.pro.
add_subdirectory(access)
add_subdirectory(kernel)
add_subdirectory(socket)
if(QT_FEATURE_openssl)
add_subdirectory(ssl)
endif()

View File

@ -0,0 +1,6 @@
# Generated from access.pro.
add_subdirectory(qfile_vs_qnetworkaccessmanager)
add_subdirectory(qnetworkreply)
add_subdirectory(qnetworkreply_from_cache)
add_subdirectory(qnetworkdiskcache)

View File

@ -0,0 +1,16 @@
# Generated from qfile_vs_qnetworkaccessmanager.pro.
#####################################################################
## tst_bench_qfile_vs_qnetworkaccessmanager Binary:
#####################################################################
add_qt_benchmark(tst_bench_qfile_vs_qnetworkaccessmanager
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Network
Qt::Test
)
#### Keys ignored in scope 1:.:.:qfile_vs_qnetworkaccessmanager.pro:<TRUE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,16 @@
# Generated from qnetworkdiskcache.pro.
#####################################################################
## tst_bench_qnetworkdiskcache Binary:
#####################################################################
add_qt_benchmark(tst_bench_qnetworkdiskcache
SOURCES
tst_qnetworkdiskcache.cpp
PUBLIC_LIBRARIES
Qt::Network
Qt::Test
)
#### Keys ignored in scope 1:.:.:qnetworkdiskcache.pro:<TRUE>:
# TEMPLATE = "app"

Some files were not shown because too many files have changed in this diff Show More