qt6-bb10/tests/benchmarks/corelib
Ahmad Samir 5e9de279ac tst_bench_qdiriterator: add benchmark for QDirListing
Make the benchmarks more comparable:
- Store the QDir::Filters in one central var, this way it's the same in
  all the call sites

- Add a `bool forceStat`, when true force calling stat(), either
  explicitly in posix_helper(), or implicitly in Qt classes by e.g.
  calling a QFileInfo method that would have to call system stat()
  internally. Otherwise benchmarking readdir()/dirent showed bigger
  times, which was mostly due to the explicit stat() calls, whereas we
  can use dirent::d_type (on the platforms where it's available)

Drive by change: for std::filesystem::recursive_directory_iterator, set
skip_permission_denied option and use the non-throwing constructor.

Change-Id: Icf138a5dc41d32741c1be611d664b01008b2f3fe
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-02-29 16:35:57 +02:00
..
io tst_bench_qdiriterator: add benchmark for QDirListing 2024-02-29 16:35:57 +02:00
itemmodels Change license for tests files 2024-02-04 09:56:42 +01:00
json Change license for tests files 2024-02-04 09:56:42 +01:00
kernel Change license for tests files 2024-02-04 09:56:42 +01:00
mimetypes Change license for tests files 2024-02-04 09:56:42 +01:00
plugin Change license for tests files 2024-02-04 09:56:42 +01:00
serialization Change license for tests files 2024-02-04 09:56:42 +01:00
text Change license for tests files 2024-02-04 09:56:42 +01:00
thread Change license for tests files 2024-02-04 09:56:42 +01:00
time Change license for tests files 2024-02-04 09:56:42 +01:00
tools Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt QCborValue: add benchmark for operator[] 2023-09-06 16:17:52 +02:00