performance_tests: add (Borromean) range proofs

This commit is contained in:
moneromooo-monero 2018-01-05 12:36:32 +00:00
parent aacfd6e370
commit 1aa10c4364
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 68 additions and 0 deletions

View file

@ -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;