git-annex/Build
Joey Hess c565340adc
stop using external hash programs, since cryptonite is faster
In 2013, I wrote "Cryptohash benchmarks 90 to 101% faster than external
hashers". Re-benchmarking today, I found cryptonite's sha256 consistently
outperformed coreutils by 10% for large files. Tested 10 mb, 100 mb, 1 gb
files with both sha256 and sha512. And for smaller files, the external
process startup time swamps the hash time.

Perhaps cryptonite has improved. Or it could just do better on my
current CPU Intel(R) Pentium(R) CPU 4410Y @ 1.50GHz). Anyway, even if cryptonite
is slower in some situations, seems likely it would only be marginally slower;
it's got the same class of highly optimised C code under the hood as coreutils.
The main difference between the two sha256 implementations seems to be
how much of the inner loop they unroll..

This commit was sponsored by Henrik Riomar on Patreon.
2018-08-28 18:10:58 -04:00
..
BuildVersion.hs type signature 2018-08-04 14:21:30 -04:00
BundledPrograms.hs stop using external hash programs, since cryptonite is faster 2018-08-28 18:10:58 -04:00
collect-ghc-options.sh Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, and cpp. 2015-08-19 13:53:57 -04:00
Configure.hs stop using external hash programs, since cryptonite is faster 2018-08-28 18:10:58 -04:00
DesktopFile.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
DistributionUpdate.hs set 6.20180626 as urgent upgrade 2018-06-25 21:52:02 -04:00
EvilSplicer.hs adeiu, MissingH 2017-05-16 01:03:52 -04:00
InstallDesktopFile.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
LinuxMkLibs.hs remove debug print 2016-11-15 21:52:10 -04:00
MakeMans.hs fix man page building 2016-06-02 16:54:58 -04:00
Mans.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
mdwn2man Don't escape leading dots in code blocks in manpage 2016-08-16 11:51:16 -04:00
NullSoftInstaller.hs Use http-conduit for url downloads by default, annex.web-options enables curl 2018-04-06 17:36:20 -04:00
OSXMkLibs.hs OSX app: Work around libz/libPng/ImageIO.framework version skew 2018-03-22 11:53:10 -04:00
Standalone.hs avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
TestConfig.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Version.hs Make Build/BuildVersion update embedded version number 2018-06-26 10:36:54 -04:00