git-annex/doc/backends/comment_1_375bb1fb5973e8fa67b763f2dd6e404b._comment
http://nanotech.nanotechcorp.net/ 0076c613c0 Added a comment: SHA performance
2012-08-10 04:37:33 +00:00

13 lines
712 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[!comment format=mdwn
username="http://nanotech.nanotechcorp.net/"
nickname="NanoTech"
subject="SHA performance"
date="2012-08-10T04:37:32Z"
content="""
It turns out that (at least on x86-64 machines) `SHA512` [is faster than][1] `SHA256`. In some benchmarks I performed<sup>1</sup> `SHA256` was 1.82.2x slower than `SHA1` while `SHA512` was only 1.51.6x slower.
`SHA224` and `SHA384` are effectively just truncated versions of `SHA256` and `SHA512` so their performance characteristics are identical.
[1]: https://community.emc.com/community/edn/rsashare/blog/2010/11/01/sha-2-algorithms-when-sha-512-is-more-secure-and-faster
<sup>1</sup> `time head -c 100000000 /dev/zero | shasum -a 512`
"""]]