From: Sree Harsha Totakura Date: Wed, 12 Sep 2012 10:09:49 +0000 (+0000) Subject: reasonable buffer for performance measurements X-Git-Tag: initial-import-from-subversion-38251~11858 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3862af06f29fe063e70a535dc8141c2202c2bc4a;p=oweals%2Fgnunet.git reasonable buffer for performance measurements --- 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 /** * Maximum size of the data which we will transfer during tests */ -#define DATA_SIZE 65536 /* 64KB */ +#define DATA_SIZE 5000000 /* 5mB */ /** * 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