aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-14 23:06:55 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:25 +0000
commit939bc2233281c47427c9987fc5310cfb77b085f9 (patch)
tree0c59e501905ba5fccc0a8cb5f1d44b6b24685c3c /tests/performance_tests/main.cpp
parentringct: add bos coster multiexp (diff)
downloadmonero-939bc2233281c47427c9987fc5310cfb77b085f9.tar.xz
add Straus multiexp
Diffstat (limited to '')
-rw-r--r--tests/performance_tests/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index 5b7a30f96..739c6cc87 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -56,6 +56,7 @@
#include "rct_mlsag.h"
#include "bulletproof.h"
#include "crypto_ops.h"
+#include "multiexp.h"
namespace po = boost::program_options;
@@ -196,6 +197,20 @@ int main(int argc, char** argv)
TEST_PERFORMANCE1(filter, test_crypto_ops, op_addKeys3);
TEST_PERFORMANCE1(filter, test_crypto_ops, op_addKeys3_2);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 2);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 8);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 16);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 256);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 1024);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_bos_coster, 4096);
+
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 2);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 8);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 16);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 256);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 1024);
+ TEST_PERFORMANCE2(filter, verbose, test_multiexp, multiexp_straus, 4096);
+
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
return 0;