aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/main.cpp
diff options
context:
space:
mode:
authorSarang Noether <32460187+SarangNoether@users.noreply.github.com>2020-05-12 13:53:10 -0400
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-08-27 12:44:04 +0000
commitaff87b5f6a3eb1f41b5fb31db9b1ccb8568cc340 (patch)
treeb9c3e6c6f6f0315f67adb327df9ec768ef8b267e /tests/performance_tests/main.cpp
parentUpdated MLSAG and CLSAG tests for consistency (diff)
downloadmonero-aff87b5f6a3eb1f41b5fb31db9b1ccb8568cc340.tar.xz
Added balance check to MLSAG/CLSAG performance tests
Diffstat (limited to 'tests/performance_tests/main.cpp')
-rw-r--r--tests/performance_tests/main.cpp26
1 files changed, 14 insertions, 12 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index 675a8c19f..e59bb52fd 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -215,18 +215,20 @@ 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_PERFORMANCE2(filter, p, test_sig_mlsag, 8, 1); // MLSAG verification
- TEST_PERFORMANCE2(filter, p, test_sig_mlsag, 16, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_mlsag, 32, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_mlsag, 64, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_mlsag, 128, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_mlsag, 256, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 8, 1); // CLSAG verification
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 16, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 32, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 64, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 128, 1);
- TEST_PERFORMANCE2(filter, p, test_sig_clsag, 256, 1);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 4, 2, 2); // MLSAG verification
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 8, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 16, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 32, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 64, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 128, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_mlsag, 256, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 4, 2, 2); // CLSAG verification
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 8, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 16, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 32, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 64, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 128, 2, 2);
+ TEST_PERFORMANCE3(filter, p, test_sig_clsag, 256, 2, 2);
TEST_PERFORMANCE2(filter, p, test_ringct_mlsag, 11, false);
TEST_PERFORMANCE2(filter, p, test_ringct_mlsag, 11, true);