From f34e2e20bdfbefa171e3bbb46615b2b0513ca394 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 14 Jan 2018 23:05:48 +0000 Subject: performance_tests: add tx checking tests with more than 2 outputs --- tests/performance_tests/main.cpp | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'tests/performance_tests/main.cpp') 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); -- cgit v1.2.3