projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946dc54
)
reasonable buffer for performance measurements
author
Sree Harsha Totakura
<totakura@in.tum.de>
Wed, 12 Sep 2012 10:09:49 +0000
(10:09 +0000)
committer
Sree Harsha Totakura
<totakura@in.tum.de>
Wed, 12 Sep 2012 10:09:49 +0000
(10:09 +0000)
src/stream/perf_stream_api.c
patch
|
blob
|
history
diff --git
a/src/stream/perf_stream_api.c
b/src/stream/perf_stream_api.c
index faf827ae2ea99346ac2954a76ffb30842f5ca72a..761c67f148c199e38ec81cffe0639072e7d43f45 100644
(file)
--- a/
src/stream/perf_stream_api.c
+++ b/
src/stream/perf_stream_api.c
@@
-129,7
+129,7
@@
struct PeerData
/**
* Maximum size of the data which we will transfer during tests
*/
-#define DATA_SIZE
65536 /* 64K
B */
+#define DATA_SIZE
5000000 /* 5m
B */
/**
* Listen socket of peer2
@@
-179,7
+179,7
@@
static struct GNUNET_TIME_Relative prof_time;
/**
* Random data block. Should generate data first
*/
-static uint32_t data[DATA_SIZE / 4];
/* 64KB array */
+static uint32_t data[DATA_SIZE / 4];
/**
* Payload sizes to test each major test with