bench: Add crypto hash benchmarks

Add benchmarks for the cryptographic hash algorithms:

- RIPEMD160
- SHA1
- SHA256
- SHA512

Continues work on #7883.
This commit is contained in:
Wladimir J. van der Laan
2016-05-10 18:19:03 +02:00
committed by lateminer
parent cc2794d2f8
commit dc38daaf38
2 changed files with 55 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ bench_bench_bitcoin_SOURCES = \
bench/bench.cpp \
bench/bench.h \
bench/Examples.cpp \
bench/rollingbloom.cpp
bench/rollingbloom.cpp \
bench/crypto_hash.cpp
bench_bench_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
bench_bench_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)