qt5base-lts/tests/benchmarks/corelib/tools
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
..
containers-associative Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
containers-sequential Fix some warnings 2021-03-29 16:06:25 +02:00
qcontiguouscache Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qcryptographichash Fix some warnings 2021-03-29 16:06:25 +02:00
qhash Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qlist Limit some QList benchmark data-set sizes to avoid time-outs 2021-07-15 17:06:54 +02:00
qmap Don't slow down a QMap benchmark by growing a megabyte-long string 2021-07-21 20:33:24 +02:00
qrect Fix some warnings 2021-03-29 16:06:25 +02:00
qringbuffer Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qset Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qstack Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qvector Rename QVector benchmark and its main.cpp for consistency 2021-07-19 18:55:51 +02:00
CMakeLists.txt Purge qalgorithm.h of deprecated API 2020-08-28 21:22:32 +02:00