From ed215d34e943204b3374fa3a8413b03a97699e90 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 31 Dec 2017 18:58:45 +0000 Subject: performance_tests: add RingCT MLSAG gen/ver tests --- tests/performance_tests/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/performance_tests/main.cpp') diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp index 459eecba4..270999d6a 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -46,6 +46,7 @@ #include "is_out_to_acc.h" #include "sc_reduce32.h" #include "cn_fast_hash.h" +#include "rct_mlsag.h" int main(int argc, char** argv) { @@ -116,6 +117,15 @@ int main(int argc, char** argv) TEST_PERFORMANCE1(test_cn_fast_hash, 32); TEST_PERFORMANCE1(test_cn_fast_hash, 16384); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 3, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 5, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 10, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 100, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 3, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 5, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 10, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 100, true); + std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl; return 0; -- cgit v1.2.3