antirez
4365e5b2d3
BSD license added to every C source and header file.
2012-11-08 18:31:32 +01:00
NanXiao
9eb3a7bc6b
Update src/redis-benchmark.c
...
The code of current implementation:
if (c->pending == 0) clientDone(c);
In clientDone function, the c's memory has been freed, then the loop will continue: while(c->pending). The memory of c has been freed now, so c->pending is invalid (c is an invalid pointer now), and this will cause memory dump in some platforams(eg: Solaris).
So I think the code should be modified as:
if (c->pending == 0)
{
clientDone(c);
break;
}
and this will not lead to while(c->pending).
2012-10-10 17:08:43 +08:00
antirez
227b429364
redis-benchmark: disable big buffer cleanup in hiredis context.
...
This new hiredis features allows us to reuse a previous context reader
buffer even if already very big in order to maximize performances with
big payloads (Usually hiredis re-creates buffers when they are too big
and unused in order to save memory).
2012-08-21 17:31:44 +02:00
Premysl Hruby
59132e4212
fix redis-benchmark memory leak
2012-02-26 10:01:27 +01:00
antirez
f6da155bde
redis-benchmark: a few fixes to pipelining implementation.
2012-02-23 15:39:26 +01:00
antirez
b9474282f8
redis-benchmark: Initial support for pipelining.
2012-02-23 15:02:43 +01:00
antirez
b66e5add82
The hiredis lib shipped with Redis was updated to latest version.
2012-02-19 20:26:50 +01:00
antirez
8dd19d818f
Fixed redis-benchmark --help output typo
2012-01-31 11:43:32 +01:00
antirez
e074416be4
Max limit to 10k clients removed, this implements feature request on issue #194
2011-12-15 11:42:40 +01:00
antirez
d9747b496e
redis-benchmark: ability to run selected tests. Better help with examples.
2011-11-07 11:29:37 +01:00
antirez
7b86f5e6d5
csv output for redis-benchmark
2011-11-04 14:49:24 +01:00
antirez
410dfe90b2
PING / MSET benchmarks enabled again.
2011-11-04 11:20:19 +01:00
antirez
826b5beb9c
further optimizations for the multi bulk protocol parsing code when big objects are transmitted to Redis.
2011-11-03 15:53:40 +01:00
Pieter Noordhuis
bdbf3acff5
Enforce upper bound for number of requests in redis-benchmark
2011-09-16 11:25:00 +02:00
Pieter Noordhuis
294cd536e0
There is no debug mode in benchmark tool
2011-06-01 09:22:19 -07:00
Pieter Noordhuis
39bf440243
Provide custom command to benchmark against via args
2011-06-01 09:22:19 -07:00
Pieter Noordhuis
fc05e8c850
More const's in redis-benchmark.c
2011-06-01 09:22:19 -07:00
antirez
9b45592c69
portability fix in redis benchmark, using zu format specified with size_t instead of lu
2011-01-24 10:05:42 +01:00
Pieter Noordhuis
2380388974
Randomize keys and set start time when first write event fires
2010-12-23 11:22:40 +01:00
Pieter Noordhuis
3c49070b35
Find substrings to randomize when the client is created
2010-12-23 11:04:44 +01:00
Pieter Noordhuis
d69a483556
Make the MSET benchmark *really* work with 10 keys
2010-12-22 18:39:52 +01:00
Pieter Noordhuis
f2f2424e00
Remove code duplication
2010-12-22 18:31:33 +01:00
Didier Spezia
f474a5bd4e
Add wait states to deal with many connections.
2010-12-18 12:11:26 +01:00
Pieter Noordhuis
1cd3c1e08c
Use multi-bulk protocol by default in redis-benchmark
2010-12-18 12:10:24 +01:00
Pieter Noordhuis
174df6fe49
Re-use variable data in redis-benchmark
2010-12-16 23:41:58 +01:00
Pieter Noordhuis
53f1d81712
Fix NULL-termination of variable data in redis-benchmark
2010-12-16 23:35:56 +01:00
Pieter Noordhuis
feecb608ed
Use multi-bulk protocol in SET benchmark
2010-11-05 10:22:52 +01:00
Pieter Noordhuis
8146e31677
Microsecond latency resolution in redis-benchmark
2010-11-04 16:15:35 +01:00
Pieter Noordhuis
ec8f06675a
Use hiredis from redis-benchmark
2010-11-04 13:37:05 +01:00
antirez
0a546fc017
Merge remote branch 'pietern/unixsocket'
2010-11-02 23:47:52 +01:00
Pieter Noordhuis
ea5b70924d
Add benchmark for MSET
2010-10-15 18:17:06 +02:00
Pieter Noordhuis
1aa608fc68
Change protocol from bulk to inline in redis-benchmark
2010-10-15 17:34:20 +02:00
Pieter Noordhuis
b04ce2a35c
Merge master with resolved conflict in src/redis-cli.c
2010-10-13 18:55:46 +02:00
Pieter Noordhuis
ed0dd55402
Show the current throughput while benchmarking
2010-08-30 11:25:02 +02:00
Pieter Noordhuis
36babc1e31
Refactor reply parsing code in redis-benchmark for efficiency
2010-08-30 11:14:54 +02:00
Pieter Noordhuis
c61e69257a
Support for Redis to listen on a Unix socket
2010-08-01 22:55:24 +02:00
antirez
e2641e09cc
redis.c split into many different C files.
...
networking related stuff moved into networking.c
moved more code
more work on layout of source code
SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
cleanly compiling again after the first split, now splitting it in more C files
moving more things around... work in progress
split replication code
splitting more
Sets split
Hash split
replication split
even more splitting
more splitting
minor change
2010-07-01 14:38:51 +02:00