qt5base-lts/tests/benchmarks/corelib/tools
Thiago Macieira 7b7c37ab94 Add a benchmark test for QCryptographicHash
Some quick benchmarks against GNU coreutils 8.21 and OpenSSL 1.0.1e
(time in µs; time for coreutils and OpenSSL include the loading of the
executable):

             Qt                 Coreutils                OpenSSL
n    SHA-1 SHA-224 SHA-512  SHA-1 SHA-224 SHA-512  SHA-1 SHA-224 SHA-512
0      0      0       0      717    716     700     2532   2553    2522
64k   120    484     381     927   1074     966     2618   2782    2694
Diff  120    484     381     210    358     266       86    229     172

The numbers for Qt are pretty stable and vary very little; the numbers
for the other two vary quite a bit, since they involve launching and
executing separate processes. We can take the lesson that we're in the
same ballpark for SHA-1 and we should investigate whether our SHA2
implementation is sufficiently optimized.

Change-Id: Ib081d002ed57c4f43741eca45ff5cd13b97b6276
Reviewed-by: Richard J. Moore <rich@kde.org>
2014-04-04 01:29:37 +02:00
..
containers-associative Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
containers-sequential Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qalgorithms Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbytearray Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qchar Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qcontiguouscache Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qcryptographichash Add a benchmark test for QCryptographicHash 2014-04-04 01:29:37 +02:00
qdatetime QDateTime - Remove some benchmark tests 2013-09-23 01:14:10 +02:00
qhash Update the qHash function for strings to use the CRC32 instruction 2014-01-23 01:06:34 +01:00
qlist Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qlocale Remove QLocalePrivate::m_localeID 2013-04-23 18:57:45 +02:00
qmap QMap - add insert overload that provide a hint 2013-03-06 18:56:17 +01:00
qrect Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qregexp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qset Iterate over the smaller set in QSet::intersect(). 2013-06-05 09:35:42 +02:00
qstring Allow non-character codes in utf8 strings 2013-10-17 09:50:58 +02:00
qstringbuilder Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstringlist Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qvector Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
tools.pro Add a benchmark test for QCryptographicHash 2014-04-04 01:29:37 +02:00