qt5base-lts/tests/benchmarks/corelib
David Faure eae031d5c3 Fix QDir benchmark to do meaningful things
* Include the creation of the QDir inside QBENCHMARK, otherwise
  the it can hit the cached code path where subsequent runs return
  results much faster.

* Same for the opendir()/readdir() test: if opendir() isn't called
  again, readdir() will just return null right away.

These two issues led to nonsense results like 0.00025 msecs per
iteration, doing nothing is really quick.

While at it, port the cleanup code to QDir::removeRecursively()

Pick-to: 6.5 6.4 6.2
Change-Id: Ic1bdd92d41efe1f6d0eaaa33eca066cb7d19fc93
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-02-07 13:33:01 +01:00
..
io Fix QDir benchmark to do meaningful things 2023-02-07 13:33:01 +01:00
itemmodels QSortFilterProxyModel: port to PMF connects for performance reasons 2023-02-02 20:43:59 +01:00
json Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
kernel tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
mimetypes Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
plugin Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
text Add In-place utf-8 case-insensitive comparisons 2022-12-02 11:35:49 +01:00
thread Windows: bump NTDDI_VERSION to latest version and remove some duplicated code 2022-10-24 13:22:24 +08:00
time Deprecate QDateTime methods using plain Qt::TimeSpec 2022-12-10 06:39:33 +01:00
tools Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00