aboutsummaryrefslogtreecommitdiff
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
parent5c4b90072573749162ebb441da216c0deaf26fea (diff)
downloadgnunet-5ee114a710348292e44f1f7865095381df3166fc.tar.gz
gnunet-5ee114a710348292e44f1f7865095381df3166fc.zip
argh
-rw-r--r--src/datastore/perf_plugin_datastore.c7
-rw-r--r--src/datastore/plugin_datastore_sqlite.c2
2 files changed, 4 insertions, 5 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
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index eccc27343..99f940317 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -29,7 +29,7 @@
29#include "plugin_datastore.h" 29#include "plugin_datastore.h"
30#include <sqlite3.h> 30#include <sqlite3.h>
31 31
32#define DEBUG_SQLITE GNUNET_YES 32#define DEBUG_SQLITE GNUNET_NO
33 33
34/** 34/**
35 * After how many payload-changing operations 35 * After how many payload-changing operations