From 1aa10c4364be4ba48df06f5ff582eef10b9288c3 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 5 Jan 2018 12:36:32 +0000 Subject: performance_tests: add (Borromean) range proofs --- tests/performance_tests/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/performance_tests/main.cpp') diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp index 5fe8263b2..27fa56afb 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -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; -- cgit v1.2.3