- 19 Jun, 2017 1 commit
-
-
antirez authored
-
- 11 Nov, 2016 1 commit
-
-
hylepo authored
Fixing typo in the usage of redis-benchmark
-
- 12 Jul, 2016 1 commit
-
-
antirez authored
Disabled by default, can be activated with -e. Maybe the reverse was more safe but departs from the past behavior.
-
- 27 Jul, 2015 1 commit
-
-
antirez authored
-
- 14 Jul, 2015 1 commit
-
-
antirez authored
Same as redis-cli, now redis-benchmark requires to use hiredis sds copy since it is different compared to the memory optimized fork of Redis sds.
-
- 19 Jan, 2015 1 commit
-
-
Matt Stancliff authored
read() and write() return ssize_t (signed long), not int. For other offsets, we can use the unsigned size_t type instead of a signed offset (since our replication offsets and buffer positions are never negative).
-
- 02 Jan, 2015 1 commit
-
-
Matt Stancliff authored
-
- 11 Dec, 2014 1 commit
-
-
antirez authored
-
- 01 Dec, 2014 2 commits
-
-
Deepak Verma authored
-
azure provisioned user authored
-
- 28 Nov, 2014 2 commits
-
-
antirez authored
10000 completes in a too short time and may easily provide unreliable figures because of tiny duration.
-
Matthias Petschick authored
-
- 27 Oct, 2014 1 commit
-
-
zhanghailei authored
-
- 25 Aug, 2014 3 commits
-
-
Matt Stancliff authored
-
Matt Stancliff authored
This just deletes old code that didn't get removed when logic changed. We were setting offsets that never got read anywhere. Since clients are now just cloned, we don't need to track per-client buffer offsets anywhere because they are all the same from the original client.
-
CharSyam authored
Closes #1097
-
- 13 Aug, 2014 1 commit
-
-
antirez authored
-
- 04 Jul, 2014 1 commit
-
-
antirez authored
-
- 28 Oct, 2013 1 commit
-
-
antirez authored
-
- 08 Aug, 2013 2 commits
-
-
antirez authored
Before this commit redis-benchmark supported random argumetns in the form of :rand:000000000000. In every string of that form, the zeros were replaced with a random number of 12 digits at every command invocation. However this was far from perfect as did not allowed to generate simply random numbers as arguments, there was always the :rand: prefix. Now instead every argument in the form __rand_int__ is replaced with a 12 digits number. Note that "__rand_int__" is 12 characters itself. In order to implement the new semantic, it was needed to change a few thigns in the internals of redis-benchmark, as new clients are created cloning old clients, so without a stable prefix such as ":rand:" the old way of cloning the client was no longer able to understand, from the old command line, what was the position of the random strings to substitute. Now instead a client structure is passed as a reference for cloning, so that we can directly clone the offsets inside the command line.
-
antirez authored
This change was profiler-driven, but the actual effect is hard to measure in real-world redis benchmark runs.
-
- 07 Aug, 2013 2 commits
- 06 Aug, 2013 2 commits
- 20 Dec, 2012 1 commit
-
-
antirez authored
The problem does not exist in the Redis server implementation of mstime() but is only limited to redis-cli and redis-benchmark. Thix fixes issue #839.
-
- 30 Nov, 2012 1 commit
-
-
antirez authored
-
- 08 Nov, 2012 1 commit
-
-
antirez authored
-
- 10 Oct, 2012 1 commit
-
-
NanXiao authored
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).
-
- 21 Aug, 2012 1 commit
-
-
antirez authored
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).
-
- 26 Feb, 2012 1 commit
-
-
Premysl Hruby authored
-
- 23 Feb, 2012 2 commits
- 19 Feb, 2012 1 commit
-
-
antirez authored
-
- 31 Jan, 2012 1 commit
-
-
antirez authored
-
- 15 Dec, 2011 1 commit
-
-
antirez authored
-
- 07 Nov, 2011 1 commit
-
-
antirez authored
-
- 04 Nov, 2011 2 commits
- 03 Nov, 2011 1 commit
-
-
antirez authored
further optimizations for the multi bulk protocol parsing code when big objects are transmitted to Redis.
-