qt5base-lts/tests/benchmarks/corelib
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
..
io benchmarks: fix some (future) -Wunused-result warnings 2022-01-24 21:11:22 +01:00
itemmodels Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
json Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
kernel Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
mimetypes Optimize QMimeDatabase::mimeTypeForFile(f, MatchDefault) 2021-12-06 22:55:06 +02:00
plugin benchmarks: fix some (future) -Wunused-result warnings 2022-01-24 21:11:22 +01:00
text QByteArray benchmark: fix clang -Wmove-result 2022-01-24 21:11:22 +01:00
thread Use QPromise when creating continuations to avoid memory leaks 2022-01-21 01:51:20 +01:00
time Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
tools Fix the benchmark for QList::removeAll() 2021-12-09 03:45:08 +01:00
CMakeLists.txt Add QSortFilterProxyModel clear-filter benchmark 2021-04-25 13:25:01 +03:00