qt6-bb10/tests/benchmarks/corelib
Edward Welbourne 2e24ee02af Don't slow down a QMap benchmark by growing a megabyte-long string
Change a += to simple assignment where it's string arithmetic (a
hundred thousand concatenations of "Hello World" add up to more than a
megabyte, in an incremental growth that's going to dominate the QMap
operations we were meant to be benchmarking) and the only reason for
it is to avoid an unused result warning. Accumulating int values is
harmless, but strings are another story !

Pick-to: 6.1 6.2
Task-number: QTBUG-91713
Change-Id: Ib0dc131b0cc75fea23998afc0300e8cb60076c7e
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
2021-07-21 20:33:24 +02:00
..
io Rename QFile benchmark's source file to tst_bench_qfile.cpp 2021-07-19 11:31:59 +02:00
itemmodels Add QSortFilterProxyModel clear-filter benchmark 2021-04-25 13:25:01 +03:00
json Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
kernel Fix QMetaType API deprecation warning in benchmark 2021-04-26 10:59:32 +02:00
mimetypes Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
plugin Fix some warnings 2021-03-29 16:06:25 +02:00
text QString benchmark: rename the source file 2021-07-21 17:20:35 +02:00
thread Add basic benchmarks for QFuture 2021-06-19 08:48:14 +02:00
time Make loop variables references in date benchmark 2021-04-27 15:34:50 +02:00
tools Don't slow down a QMap benchmark by growing a megabyte-long string 2021-07-21 20:33:24 +02:00
CMakeLists.txt Add QSortFilterProxyModel clear-filter benchmark 2021-04-25 13:25:01 +03:00