diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-05-22 15:00:58 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-05-22 15:07:32 +0200 |
commit | 7efce5d5100dc0fddba36fba2ecb5a6c5e9cae37 (patch) | |
tree | cd2cf39f6a66ac02db3118f5807752c73625add9 /src/corelib/tools/qdatetime.cpp | |
parent | 5b672693e7288447cb609a2b7ecb52b57233c275 (diff) |
Add a bench-mark for QDate's isValid() and daysInMonth()
The two perform related calculations, so test them together.
RESULT : tst_QDate::monthLengths():
0.33 msecs per iteration (total: 87, iterations: 256)
Change-Id: I86b36a9182b00c0a1f40e858ed3e7812434974c4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qdatetime.cpp')
0 files changed, 0 insertions, 0 deletions