qt5base-lts/tests/benchmarks/corelib/tools
David Faure a8ae8e3130 QDateTime::fromString(): improve performance by 33%
getMaximum() and getMinimum(), called during parsing, create new
QDateTime instances, which on Linux end up calling mktime().
Making these static (for the common case of LocalTime spec)
improves performance dramatically, when parsing several date/times.

tests/benchmarks/corelib/tools/qdatetime/ (after fixing it to
actually parse a valid date/time) says:
 RESULT : tst_QDateTime::fromString():
-     36,742,060 instruction reads per iteration (total: 36,742,060, iterations: 1)
+     24,230,060 instruction reads per iteration (total: 24,230,060, iterations: 1)

Change-Id: I0c3931285475bf19a5be8cba1486ed07cbf5e134
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-01-03 13:37:49 +00:00
..
containers-associative Updated license headers 2016-01-21 18:55:18 +00:00
containers-sequential Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
qalgorithms Updated license headers 2016-01-21 18:55:18 +00:00
qbytearray Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qchar Updated license headers 2016-01-21 18:55:18 +00:00
qcontiguouscache Updated license headers 2016-01-21 18:55:18 +00:00
qcryptographichash Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
qdatetime QDateTime::fromString(): improve performance by 33% 2017-01-03 13:37:49 +00:00
qhash Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qlist Updated license headers 2016-01-21 18:55:18 +00:00
qlocale Updated license headers 2016-01-21 18:55:18 +00:00
qmap Updated license headers 2016-01-21 18:55:18 +00:00
qrect Updated license headers 2016-01-21 18:55:18 +00:00
qregexp Updated license headers 2016-01-21 18:55:18 +00:00
qringbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qset Updated license headers 2016-01-21 18:55:18 +00:00
qstack Updated license headers 2016-01-21 18:55:18 +00:00
qstring Updated license headers 2016-01-21 18:55:18 +00:00
qstringbuilder Updated license headers 2016-01-21 18:55:18 +00:00
qstringlist Updated license headers 2016-01-21 18:55:18 +00:00
qvector Replace qAllocMore with a pair of more useful functions 2016-06-09 15:32:14 +00:00
tools.pro Skip old benchmark that doesn't build automatically 2016-04-13 12:23:06 +00:00