![]() |
Bitcoin ABC
0.22.13
P2P Digital Currency
|
#include <bench/bench.h>
#include <crypto/ripemd160.h>
#include <crypto/sha1.h>
#include <crypto/sha256.h>
#include <crypto/sha512.h>
#include <crypto/siphash.h>
#include <hash.h>
#include <random.h>
#include <uint256.h>
#include <string>
Go to the source code of this file.
Functions | |
static void | RIPEMD160 (benchmark::State &state) |
static void | SHA1 (benchmark::State &state) |
static void | SHA256 (benchmark::State &state) |
static void | SHA256_32b (benchmark::State &state) |
static void | SHA256D64_1024 (benchmark::State &state) |
static void | SHA512 (benchmark::State &state) |
static void | SipHash_32b (benchmark::State &state) |
static void | FastRandom_32bit (benchmark::State &state) |
static void | FastRandom_1bit (benchmark::State &state) |
BENCHMARK (RIPEMD160, 440) | |
BENCHMARK (SHA1, 570) | |
BENCHMARK (SHA256, 340) | |
BENCHMARK (SHA512, 330) | |
BENCHMARK (SHA256_32b, 4700 *1000) | |
BENCHMARK (SipHash_32b, 40 *1000 *1000) | |
BENCHMARK (SHA256D64_1024, 7400) | |
BENCHMARK (FastRandom_32bit, 110 *1000 *1000) | |
BENCHMARK (FastRandom_1bit, 440 *1000 *1000) | |
Variables | |
static const uint64_t | BUFFER_SIZE = 1000 * 1000 |
BENCHMARK | ( | RIPEMD160 | , |
440 | |||
) |
BENCHMARK | ( | SHA1 | , |
570 | |||
) |
BENCHMARK | ( | SHA256 | , |
340 | |||
) |
BENCHMARK | ( | SHA512 | , |
330 | |||
) |
BENCHMARK | ( | SHA256_32b | , |
4700 * | 1000 | ||
) |
BENCHMARK | ( | SipHash_32b | , |
40 *1000 * | 1000 | ||
) |
BENCHMARK | ( | SHA256D64_1024 | , |
7400 | |||
) |
BENCHMARK | ( | FastRandom_32bit | , |
110 *1000 * | 1000 | ||
) |
BENCHMARK | ( | FastRandom_1bit | , |
440 *1000 * | 1000 | ||
) |
|
static |
|
static |
Definition at line 75 of file crypto_hash.cpp.
|
static |
Definition at line 20 of file crypto_hash.cpp.
|
static |
Definition at line 28 of file crypto_hash.cpp.
|
static |
Definition at line 36 of file crypto_hash.cpp.
|
static |
Definition at line 44 of file crypto_hash.cpp.
|
static |
Definition at line 51 of file crypto_hash.cpp.
|
static |
Definition at line 58 of file crypto_hash.cpp.
|
static |
Definition at line 66 of file crypto_hash.cpp.
|
static |
Definition at line 18 of file crypto_hash.cpp.