Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
// Copyright (c) 2019-2020 The Hush developers
|
|
#ifndef BENCHMARKS_H
|
|
#define BENCHMARKS_H
|
|
|
|
#include <sys/time.h>
|
|
#include <stdlib.h>
|
|
|
|
extern double benchmark_sleep();
|
|
extern double benchmark_create_joinsplit();
|
|
extern std::vector<double> benchmark_create_joinsplit_threaded(int nThreads);
|
|
extern double benchmark_solve_equihash();
|
|
extern std::vector<double> benchmark_solve_equihash_threaded(int nThreads);
|
|
extern double benchmark_verify_joinsplit(const JSDescription &joinsplit);
|
|
extern double benchmark_verify_equihash();
|
|
extern double benchmark_large_tx(size_t nInputs);
|
|
extern double benchmark_try_decrypt_notes(size_t nAddrs);
|
|
extern double benchmark_increment_note_witnesses(size_t nTxs);
|
|
extern double benchmark_connectblock_slow();
|
|
extern double benchmark_sendtoaddress(CAmount amount);
|
|
extern double benchmark_loadwallet();
|
|
extern double benchmark_listunspent();
|
|
extern double benchmark_create_sapling_spend();
|
|
extern double benchmark_create_sapling_output();
|
|
extern double benchmark_verify_sapling_spend();
|
|
extern double benchmark_verify_sapling_output();
|
|
|
|
#endif
|
|
|