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:05:48 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:27 +0000
commitf34e2e20bdfbefa171e3bbb46615b2b0513ca394 (patch)
treedc599b945e82ebe99b3d08afe4334752c7ac017d /tests/performance_tests/main.cpp
parentperformance_tests: add a --verbose flag, and default to terse (diff)
downloadmonero-f34e2e20bdfbefa171e3bbb46615b2b0513ca394.tar.xz
performance_tests: add tx checking tests with more than 2 outputs
Diffstat (limited to '')
-rw-r--r--tests/performance_tests/main.cpp23
1 files changed, 15 insertions, 8 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index ba1640263..c18a653c8 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -124,14 +124,21 @@ int main(int argc, char** argv)
TEST_PERFORMANCE3(filter, verbose, test_construct_tx, 100, 2, true);
TEST_PERFORMANCE3(filter, verbose, test_construct_tx, 100, 10, true);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 1, false);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 2, false);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 10, false);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 100, false);
-
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 2, true);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 10, true);
- TEST_PERFORMANCE2(filter, verbose, test_check_tx_signature, 100, true);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 1, 2, false, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 2, false, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 10, 2, false, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 100, 2, false, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 10, false, false);
+
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 2, true, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 10, 2, true, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 100, 2, true, false);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 10, true, false);
+
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 2, true, true);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 10, 2, true, true);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 100, 2, true, true);
+ TEST_PERFORMANCE4(filter, verbose, test_check_tx_signature, 2, 10, true, true);
TEST_PERFORMANCE0(filter, verbose, test_is_out_to_acc);
TEST_PERFORMANCE0(filter, verbose, test_is_out_to_acc_precomp);