diff options
Diffstat (limited to 'src/mintdb/perf_taler_mintdb.c')
-rw-r--r-- | src/mintdb/perf_taler_mintdb.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/mintdb/perf_taler_mintdb.c b/src/mintdb/perf_taler_mintdb.c index 11ae6f526..80cb3069e 100644 --- a/src/mintdb/perf_taler_mintdb.c +++ b/src/mintdb/perf_taler_mintdb.c @@ -25,8 +25,8 @@ #define NB_DENOMINATION_INIT 15 #define NB_DENOMINATION_SAVE 15 -#define BIGGER 10 -#define BIG 10 +#define BIGGER 100000 +#define BIG 10000 #define NB_RESERVE_INIT BIGGER #define NB_RESERVE_SAVE BIG @@ -37,6 +37,9 @@ #define NB_WITHDRAW_INIT BIGGER #define NB_WITHDRAW_SAVE BIG +#define NB_REFRESH_INIT BIGGER +#define NB_REFRESH_SAVE BIG + /** * Runs the performances tests for the mint database * and logs the results using Gauger @@ -118,8 +121,21 @@ main (int argc, char ** argv) NB_DEPOSIT_SAVE), PERF_TALER_MINTDB_INIT_CMD_END_LOOP ("", "04 - deposit init loop"), - PERF_TALER_MINTDB_INIT_CMD_DEBUG ("End of initialization"), // End of deposit initialization + // Session initialization + PERF_TALER_MINTDB_INIT_CMD_LOOP ("05 - refresh session init loop", + NB_REFRESH_INIT), + PERF_TALER_MINTDB_INIT_CMD_START_TRANSACTION (""), + PERF_TALER_MINTDB_INIT_CMD_CREATE_REFRESH_SESSION ("05 - refresh session"), + PERF_TALER_MINTDB_INIT_CMD_SAVE_ARRAY ("05 - session array", + "05 - refresh session init loop", + "05 - refresh session", + NB_RESERVE_SAVE), + PERF_TALER_MINTDB_INIT_CMD_COMMIT_TRANSACTION (""), + PERF_TALER_MINTDB_INIT_CMD_END_LOOP ("05 - end", + "05 - refresh session init loop"), + + PERF_TALER_MINTDB_INIT_CMD_DEBUG ("End of initialization"), PERF_TALER_MINTDB_INIT_CMD_DEBUG ("Start of performances measuring"), PERF_TALER_MINTDB_INIT_CMD_GET_TIME ("05 - start"), |