diff options
author | Joseph <Joseph.xu@efrei.net> | 2022-12-20 09:09:03 -0500 |
---|---|---|
committer | Joseph <Joseph.xu@efrei.net> | 2022-12-21 05:29:47 -0500 |
commit | 802dbaefc984807c54000bd9f695254690dbdcd5 (patch) | |
tree | d72b0ff8f2c00c526e4314055a5f0cb06da69789 /src/exchangedb/test_exchangedb_by_j.c | |
parent | 287370b4cbcd3062da83bed9b4b6935532899992 (diff) |
add batch8
Diffstat (limited to 'src/exchangedb/test_exchangedb_by_j.c')
-rw-r--r-- | src/exchangedb/test_exchangedb_by_j.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb_by_j.c b/src/exchangedb/test_exchangedb_by_j.c index 8e0b413b..c114f59c 100644 --- a/src/exchangedb/test_exchangedb_by_j.c +++ b/src/exchangedb/test_exchangedb_by_j.c @@ -23,7 +23,7 @@ #include "taler_json_lib.h" #include "taler_exchangedb_plugin.h" #include "math.h" -#define ROUNDS 100 +#define ROUNDS 10 /** * Global result from the testcase. @@ -73,7 +73,7 @@ static struct TALER_EXCHANGEDB_Plugin *plugin; static void run (void *cls) { - static const unsigned int batches[] = {1, 2, 3, 4, 16 }; + static const unsigned int batches[] = {1, 2, 3, 4, 8, 16 }; struct GNUNET_TIME_Relative times[sizeof (batches)/sizeof(*batches)]; unsigned long long sqrs[sizeof (batches)/sizeof(*batches)]; struct GNUNET_CONFIGURATION_Handle *cfg = cls; @@ -102,7 +102,7 @@ run (void *cls) memset (sqrs, 0, sizeof (sqrs)); for (unsigned int r = 0; r < ROUNDS; r++) { - for (unsigned int i = 0; i< 5; i++) + for (unsigned int i = 0; i< 6; i++) { const char *sndr = "payto://x-taler-bank/localhost:8080/1"; struct TALER_Amount value; @@ -153,7 +153,7 @@ run (void *cls) system ("./test.sh"); //DELETE AFTER TIMER } } - for (unsigned int i = 0; i< 5; i++) + for (unsigned int i = 0; i< 6; i++) { struct GNUNET_TIME_Relative avg; double avg_dbl; |