aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-31 18:58:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:19 +0000
commit8f4ce989c2b586667d9fed4a342576472ace5ff4 (patch)
treee444f21c0838cc17242504297923c1fa9f89ebd8 /tests
parentperformance_tests: add (Borromean) range proofs (diff)
downloadmonero-8f4ce989c2b586667d9fed4a342576472ace5ff4.tar.xz
performance_tests: add RingCT MLSAG gen/ver tests
Diffstat (limited to 'tests')
-rw-r--r--tests/performance_tests/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index 27fa56afb..1025d9a44 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -53,6 +53,7 @@
#include "rct_mlsag.h"
#include "equality.h"
#include "range_proof.h"
+#include "rct_mlsag.h"
namespace po = boost::program_options;
@@ -160,6 +161,15 @@ int main(int argc, char** argv)
TEST_PERFORMANCE1(filter, test_range_proof, true);
TEST_PERFORMANCE1(filter, test_range_proof, false);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 3, false);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 5, false);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 10, false);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 100, false);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 3, true);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 5, true);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 10, true);
+ TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 100, true);
+
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
return 0;