diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2020-03-25 15:41:53 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-03-31 17:42:47 +0200 |
| commit | 3febcd6286a3cd22db4f294e7f31a94c07c51fb0 (patch) | |
| tree | 7a9809526d944d6ccb1c5df706573ca51ba4e775 /src/plugins/platforms/wasm/qwasmintegration.cpp | |
| parent | 64dd5a8183eb0d80f31b8ac0c2a59066e769ae79 (diff) | |
More startOfDay() fixes, in tst_bench_QDateTime
Update a QDateTime benchmark to use QDate::startOfDay() when setting
up its lists of date-times in helper functions, and to use noon as the
moment in the day in a creation test. Also move creation of a QTime
outside the loop: we're testing speed of creation of QDateTime here,
not QTime (and were already using the most trivial QTime constructor).
Change-Id: I26bf3369aae84a802ab03791f7341e107fede87c
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions
