qt6-bb10/tests/benchmarks/corelib/text
Marc Mutz a8f00bf0ad QByteArray benchmark: fix clang -Wmove-result
Take the argument by value instead of rvalue ref. In C++17, this is as
efficient, and enables the

   return big;

to use the QByteArray move constructor, avoiding the need for a manual
std::move(), which always looks suspicious on a return statement,
because more often than not, it's a pessimization that breaks NRVO.

This code doesn't seem to exist in Qt 6.2, so only

Pick-to: 6.3
Change-Id: I8bf678102f5df1870cfc61090d12f327478d74d1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-01-24 21:11:22 +01:00
..
qbytearray QByteArray benchmark: fix clang -Wmove-result 2022-01-24 21:11:22 +01:00
qchar Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qlocale Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qregularexpression Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qstring QString benchmark: don't use %ls 2021-07-29 10:42:36 +02:00
qstringbuilder Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qstringlist Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qstringtokenizer Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
CMakeLists.txt Add benchmarks for QString::number 2021-07-22 23:01:41 +02:00