aboutsummaryrefslogtreecommitdiff
path: root/src/stream
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-09-12 10:09:49 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-09-12 10:09:49 +0000
commit3862af06f29fe063e70a535dc8141c2202c2bc4a (patch)
tree8e9c859d8b47f6b4f676161b1b0d451d58dceef4 /src/stream
parent946dc546692beb127009d403857df8dec2781ae7 (diff)
downloadgnunet-3862af06f29fe063e70a535dc8141c2202c2bc4a.tar.gz
gnunet-3862af06f29fe063e70a535dc8141c2202c2bc4a.zip
reasonable buffer for performance measurements
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/perf_stream_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/perf_stream_api.c b/src/stream/perf_stream_api.c
index faf827ae2..761c67f14 100644
--- a/src/stream/perf_stream_api.c
+++ b/src/stream/perf_stream_api.c
@@ -129,7 +129,7 @@ struct PeerData
129/** 129/**
130 * Maximum size of the data which we will transfer during tests 130 * Maximum size of the data which we will transfer during tests
131 */ 131 */
132#define DATA_SIZE 65536 /* 64KB */ 132#define DATA_SIZE 5000000 /* 5mB */
133 133
134/** 134/**
135 * Listen socket of peer2 135 * Listen socket of peer2
@@ -179,7 +179,7 @@ static struct GNUNET_TIME_Relative prof_time;
179/** 179/**
180 * Random data block. Should generate data first 180 * Random data block. Should generate data first
181 */ 181 */
182static uint32_t data[DATA_SIZE / 4]; /* 64KB array */ 182static uint32_t data[DATA_SIZE / 4];
183 183
184/** 184/**
185 * Payload sizes to test each major test with 185 * Payload sizes to test each major test with