aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_plugin_datastore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-17 23:43:40 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-17 23:43:40 +0000
commit5ee114a710348292e44f1f7865095381df3166fc (patch)
treeebdba24dd106b586b4f5c813a79ae55044e94a17 /src/datastore/perf_plugin_datastore.c
parent5c4b90072573749162ebb441da216c0deaf26fea (diff)
downloadgnunet-5ee114a710348292e44f1f7865095381df3166fc.tar.gz
gnunet-5ee114a710348292e44f1f7865095381df3166fc.zip
argh
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r--src/datastore/perf_plugin_datastore.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c
index 0eed035d1..6b5ae9a28 100644
--- a/src/datastore/perf_plugin_datastore.c
+++ b/src/datastore/perf_plugin_datastore.c
@@ -28,7 +28,7 @@
28#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
29#include "plugin_datastore.h" 29#include "plugin_datastore.h"
30 30
31#define VERBOSE GNUNET_YES 31#define VERBOSE GNUNET_NO
32 32
33/** 33/**
34 * Target datastore size (in bytes). Realistic sizes are 34 * Target datastore size (in bytes). Realistic sizes are
@@ -36,10 +36,9 @@
36 * those take too long to run them in the usual "make check" 36 * those take too long to run them in the usual "make check"
37 * sequence. Hence the value used for shipping is tiny. 37 * sequence. Hence the value used for shipping is tiny.
38 */ 38 */
39#define MAX_SIZE 1024LL * 1024 / 4 39#define MAX_SIZE 1024LL * 1024 * 128
40// * 128
41 40
42#define ITERATIONS 2 41#define ITERATIONS 10
43 42
44/** 43/**
45 * Number of put operations equivalent to 1/10th of MAX_SIZE 44 * Number of put operations equivalent to 1/10th of MAX_SIZE