aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/main.cpp
diff options
context:
space:
mode:
authorSarang Noether <32460187+SarangNoether@users.noreply.github.com>2019-08-27 16:22:44 -0400
committerSarang Noether <32460187+SarangNoether@users.noreply.github.com>2019-08-27 16:22:44 -0400
commit3a0451a8be43154f0da06dd9c693ed6f0c657042 (patch)
tree298545ee6661a331d615de049359e74e5a9e5ca2 /tests/performance_tests/main.cpp
parentMerge pull request #5641 (diff)
downloadmonero-3a0451a8be43154f0da06dd9c693ed6f0c657042.tar.xz
MLSAG speedup and additional checks
Diffstat (limited to 'tests/performance_tests/main.cpp')
-rw-r--r--tests/performance_tests/main.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index c32e0df20..bd7414c59 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -57,7 +57,6 @@
#include "rct_mlsag.h"
#include "equality.h"
#include "range_proof.h"
-#include "rct_mlsag.h"
#include "bulletproof.h"
#include "crypto_ops.h"
#include "multiexp.h"
@@ -214,14 +213,8 @@ int main(int argc, char** argv)
TEST_PERFORMANCE1(filter, p, test_cn_fast_hash, 32);
TEST_PERFORMANCE1(filter, p, test_cn_fast_hash, 16384);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 3, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 5, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 10, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 100, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 3, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 5, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 10, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 100, true);
+ TEST_PERFORMANCE2(filter, p, test_ringct_mlsag, 11, false);
+ TEST_PERFORMANCE2(filter, p, test_ringct_mlsag, 11, true);
TEST_PERFORMANCE2(filter, p, test_equality, memcmp32, true);
TEST_PERFORMANCE2(filter, p, test_equality, memcmp32, false);
@@ -251,15 +244,6 @@ int main(int argc, char** argv)
TEST_PERFORMANCE6(filter, p, test_aggregated_bulletproof, false, 2, 1, 1, 0, 64);
TEST_PERFORMANCE6(filter, p, test_aggregated_bulletproof, true, 2, 1, 1, 0, 64); // 64 proof, each with 2 amounts
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 3, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 5, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 10, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 100, false);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 3, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 5, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 10, true);
- TEST_PERFORMANCE3(filter, p, test_ringct_mlsag, 1, 100, true);
-
TEST_PERFORMANCE1(filter, p, test_crypto_ops, op_sc_add);
TEST_PERFORMANCE1(filter, p, test_crypto_ops, op_sc_sub);
TEST_PERFORMANCE1(filter, p, test_crypto_ops, op_sc_mul);