diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-10-19 21:32:48 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-10-24 21:00:11 -0700 |
commit | e693a5ccafeace28bd1b60c21f19b9b8ada51366 (patch) | |
tree | 5a291471b6ea7710b1a6777e9a08311a79064add /src/testlib/qbenchmarkvalgrind.cpp | |
parent | 483ae6c448ff95354c22e7d6e71117a9f9c40421 (diff) |
QBenchlib/Perf: use WalltimeNanoseconds for the task time
Avoids the special case in the code and removes the need to run a large
number of iterations to get any useful result, plus makes it's more
readable:
From:
0.00002125 msecs per iteration (total: 2,125, iterations: 100000000)
To:
22.082 nsecs per iteration (total: 22,082, iterations: 1000)
Pick-to: 6.4
Change-Id: I3c79b7e08fa346988dfefffd171facc98af9e9fc
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qbenchmarkvalgrind.cpp')
0 files changed, 0 insertions, 0 deletions