aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-20 13:43:55 +0200
committerFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-20 13:43:55 +0200
commit80b85e55858792d96c5e320dee84844dc4ad6138 (patch)
tree8146ad5949b81df051bf9850aaf6e1bb0c8e6c8f
parent2cd4d6a4736affc4d10af9d4b285c681bda34835 (diff)
Database smaller for testing
-rw-r--r--src/mintdb/perf_taler_mintdb.c14
-rw-r--r--src/mintdb/perf_taler_mintdb_interpreter.c1
2 files changed, 7 insertions, 8 deletions
diff --git a/src/mintdb/perf_taler_mintdb.c b/src/mintdb/perf_taler_mintdb.c
index 4a4e84d11..3fb5975c2 100644
--- a/src/mintdb/perf_taler_mintdb.c
+++ b/src/mintdb/perf_taler_mintdb.c
@@ -25,14 +25,14 @@
#define NB_DENOMINATION_INIT 15
#define NB_DENOMINATION_SAVE 15
-#define NB_RESERVE_INIT 100000
-#define NB_RESERVE_SAVE 10000
+#define NB_RESERVE_INIT 10000
+#define NB_RESERVE_SAVE 1000
-#define NB_DEPOSIT_INIT 100000
-#define NB_DEPOSIT_SAVE 10000
+#define NB_DEPOSIT_INIT 10000
+#define NB_DEPOSIT_SAVE 1000
-#define NB_WITHDRAW_INIT 100000
-#define NB_WITHDRAW_SAVE 10000
+#define NB_WITHDRAW_INIT 10000
+#define NB_WITHDRAW_SAVE 1000
/**
* Runs the performances tests for the mint database
@@ -193,7 +193,7 @@ main (int argc, char ** argv)
NB_RESERVE_SAVE),
PERF_TALER_MINTDB_INIT_CMD_LOAD_ARRAY ("09 - reserve",
"09 - withdraw insert measure",
- "03 - save coin"),
+ "02 - save reserve"),
PERF_TALER_MINTDB_INIT_CMD_LOAD_ARRAY ("09 - denomination",
"09 - withdraw insert measure",
"01 - save denomination"),
diff --git a/src/mintdb/perf_taler_mintdb_interpreter.c b/src/mintdb/perf_taler_mintdb_interpreter.c
index 45a3002a5..30403a628 100644
--- a/src/mintdb/perf_taler_mintdb_interpreter.c
+++ b/src/mintdb/perf_taler_mintdb_interpreter.c
@@ -470,7 +470,6 @@ interpret (struct PERF_TALER_MINTDB_interpreter_state *state)
elapsed = GNUNET_TIME_absolute_get_difference (start,
stop);
ips = (1.0 * state->cmd[state->i].details.gauger.divide) / (elapsed.rel_value_us/1000000.0);
- printf ("gauger data:%lu - %f\n", elapsed.rel_value_us, ips);
GAUGER ("MINTDB",
state->cmd[state->i].details.gauger.description,
ips,