mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-02 03:53:14 +00:00
Merge pull request #2518
6a0fb301
performance_tests: adjust some iterations down a bit (moneromooo-monero)
This commit is contained in:
commit
a2041c9874
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
static_assert(0 < a_out_count, "out_count must be greater than 0");
|
||||||
|
|
||||||
public:
|
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 in_count = a_in_count;
|
||||||
static const size_t out_count = a_out_count;
|
static const size_t out_count = a_out_count;
|
||||||
static const bool rct = a_rct;
|
static const bool rct = a_rct;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
class test_derive_secret_key : public single_tx_test_base
|
class test_derive_secret_key : public single_tx_test_base
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const size_t loop_count = 1000000;
|
static const size_t loop_count = 10000;
|
||||||
|
|
||||||
bool init()
|
bool init()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue