aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/construct_tx.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-24 11:00:31 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-24 11:00:31 +0100
commit6a0fb301bb44daa5f6063c210dd3032033fec982 (patch)
treee8557beaebb7aca9235ed770915b80e24d54f6af /tests/performance_tests/construct_tx.h
parentMerge pull request #2496 (diff)
downloadmonero-6a0fb301bb44daa5f6063c210dd3032033fec982.tar.xz
performance_tests: adjust some iterations down a bit
Diffstat (limited to 'tests/performance_tests/construct_tx.h')
-rw-r--r--tests/performance_tests/construct_tx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/performance_tests/construct_tx.h b/tests/performance_tests/construct_tx.h
index 0610c86ed..90e4cf76e 100644
--- a/tests/performance_tests/construct_tx.h
+++ b/tests/performance_tests/construct_tx.h
@@ -43,7 +43,7 @@ class test_construct_tx : private multi_tx_test_base<a_in_count>
static_assert(0 < a_out_count, "out_count must be greater than 0");
public:
- static const size_t loop_count = (a_in_count + a_out_count < 100) ? 100 : 10;
+ static const size_t loop_count = (a_in_count + a_out_count < 10) ? (a_rct ? 10 : 200) : (a_in_count + a_out_count) < 100 ? (a_rct ? 5 : 25) : 5;
static const size_t in_count = a_in_count;
static const size_t out_count = a_out_count;
static const bool rct = a_rct;