mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 04:24:58 -04:00
performance_tests: add (Borromean) range proofs
This commit is contained in:
parent
aacfd6e370
commit
1aa10c4364
3 changed files with 68 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
#include "cn_fast_hash.h"
|
||||
#include "rct_mlsag.h"
|
||||
#include "equality.h"
|
||||
#include "range_proof.h"
|
||||
|
||||
namespace po = boost::program_options;
|
||||
|
||||
|
@ -156,6 +157,9 @@ int main(int argc, char** argv)
|
|||
TEST_PERFORMANCE2(filter, test_equality, verify32, false);
|
||||
TEST_PERFORMANCE2(filter, test_equality, verify32, false);
|
||||
|
||||
TEST_PERFORMANCE1(filter, test_range_proof, true);
|
||||
TEST_PERFORMANCE1(filter, test_range_proof, false);
|
||||
|
||||
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue