qt5base-lts/tests/benchmarks/corelib
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
..
codecs Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
io Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
json Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel Fix QMetaType benchmark. 2013-05-13 13:29:48 +02:00
mimetypes Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
plugin Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
thread Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
tools Add a benchmark test for QCryptographicHash 2014-04-04 01:29:37 +02:00
corelib.pro test: Moving tst_QMimeDatabase::inheritsPerformance() test 2012-10-31 19:56:42 +01:00