Changes between Version 3 and Version 4 of WikiStart

Show
Ignore:
Timestamp:
09/15/10 22:40:10 (4 years ago)
Author:
TomMD (IP: 131.252.223.19)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v3 v4  
    3535    0   
    3636}}} 
     37 
     38= Benchmarking = 
     39Benchmarks for RNGs, block ciphers, and hashes are included.  Omitting the boiler plate instances and imports: 
     40 
     41{{{ 
     42main = do 
     43    defaultMain 
     44        [ benchmarkHash (undefined :: SHA512) "CryptoHash-SHA512" 
     45        , benchmarkHash (undefined :: SHA512Digest) "SHA-SHA512" 
     46        ] 
     47}}} 
     48 
     49Yields an (abbreviated) output of (names are Package-Algorithm/ByteString Type): 
     50 
     51{{{ 
     52benchmarking CryptoHash-SHA512/lazy 
     53mean: 3.177017 ms, lb 3.165977 ms, ub 3.190173 ms, ci 0.950 
     54... 
     55benchmarking CryptoHash-SHA512/strict 
     56mean: 3.122165 ms, lb 3.112740 ms, ub 3.137940 ms, ci 0.950 
     57... 
     58benchmarking SHA-SHA512/lazy 
     59mean: 56.43109 ms, lb 56.37325 ms, ub 56.51372 ms, ci 0.950 
     60... 
     61benchmarking SHA-SHA512/strict 
     62mean: 56.07654 ms, lb 56.02566 ms, ub 56.14383 ms, ci 0.950 
     63}}}