artix
ead543dc90
Redis benchmark: update help with threads/cluster options
2019-03-01 18:15:44 +01:00
artix
de6718dbb1
Redis benchmark: fix default hset test key
2019-03-01 17:53:14 +01:00
artix
1b175234f6
Redis Benchmark: update slots configuration after MOVED/ASK reply
2019-03-01 17:53:14 +01:00
artix
7ef83aad5f
Redis Benchmark: use atomic var for liveclients in 'createClient'
2019-03-01 17:53:14 +01:00
artix
f33bdf6b64
Redis Benchmark: display 'save' and 'appendonly' configuration
2019-03-01 17:53:14 +01:00
artix
f5ef17ef89
Redis benchmark: add {tag} to all default tests
2019-03-01 17:53:14 +01:00
artix
361a5a2892
Redis benchmark: fixed issued with config.hostip and code cleanup
2019-03-01 17:53:14 +01:00
artix
52ebd2ff18
Redis benchmark: configurable thread count in cluster mode and fixes
2019-03-01 17:53:14 +01:00
artix
c5ddfee4b4
Various changes to redis-benchmark thread and cluster support
...
- MOVED or ASK replies are now handled in cluster mode.
- Only the first slot per node is used in cluster mode.
- Mutlithreading: reduced usage of mutexes in favor of atomic vars.
2019-03-01 17:53:14 +01:00
artix
c8ca2b328e
Redis benchmark: table-based slot hashtag placeholder replacement in cluster mode.
2019-03-01 17:53:14 +01:00
artix
bad4db5525
Added basic support for clusters to redis-benchmark.
2019-03-01 17:53:14 +01:00
artix
60b650be2a
Thread support for redis-benchmark.
2019-03-01 17:53:14 +01:00
Madelyn Olson
8e20c1f854
Updated redis-benchmark so it doesn't show 1 value above 2ms at higher precision
2019-02-26 21:12:55 +00:00
antirez
78a2115c4c
redis-benchmark: default precision=1, integer ms after 2 milliseconds.
...
Reltaed to discussion and PR #5840 .
2019-02-14 13:19:51 +01:00
Madelyn Olson
5a1f8fd6f2
Rename variable
2019-02-13 21:03:31 +00:00
Madelyn Olson
b53eec3126
Updated redis benchmark with us precision support
2019-02-13 19:52:48 +00:00
zhaozhao.zz
0c608a4ce9
redis-benchmark: bugfix - handle zero liveclients in right way
2018-01-03 12:47:25 +08:00
Mota
76eab3512a
redis-benchmark: default value size usage update.
...
default size of SET/GET value in usage should be 3 bytes as in main code.
2017-07-25 23:43:46 +08:00
Salvatore Sanfilippo
0f629c11fd
Merge pull request #1998 from grobe0ba/unstable
...
Fix missing '-' in redis-benchmark help output (Issue #1996 )
2017-07-24 15:18:08 +02:00
antirez
078cb38a81
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
hylepo
cc1a950227
Update redis-benchmark.c
...
Fixing typo in the usage of redis-benchmark
2016-11-11 10:33:48 +08:00
antirez
873bdbc033
redis-benchmark: new option to show server errors on stdout.
...
Disabled by default, can be activated with -e. Maybe the reverse was
more safe but departs from the past behavior.
2016-07-12 11:23:31 +02:00
antirez
c15cac0d77
RDMF: More consistent define names.
2015-07-27 14:37:58 +02:00
antirez
ddd6f9fcc8
Fix redis-benchmark sds binding.
...
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.
2015-07-14 17:33:30 +02:00
Matt Stancliff
8958c39e71
Improve networking type correctness
...
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).
2015-01-19 14:10:12 -05:00
Matt Stancliff
153f919b4d
redis-benchmark: Add RPUSH and RPOP tests
2015-01-02 11:16:08 -05:00
antirez
b11dbf8130
Removed useless space in redis-benchmark.c.
2014-12-11 15:16:20 +01:00
Salvatore Sanfilippo
1041c79bdb
Merge pull request #2105 from Hailei/fix-redis-benchmark-idle-IDLE
...
FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event
2014-12-11 15:11:22 +01:00
Salvatore Sanfilippo
b00ed695ef
Merge pull request #2176 from deepakverma/redis_bench_authfix
...
redis-benchmark AUTH command to be discarded after the first send #2150
2014-12-09 15:24:44 +01:00
Deepak Verma
ff62818d66
replaced // comments #2150
2014-12-01 22:54:49 +00:00
azure provisioned user
773dcf4e60
redis-benchmark AUTH command to be discarded after the first send #2150
2014-12-01 21:42:40 +00:00
antirez
ded0f6c8dc
redis-benchmark: default num of requests is now 100000.
...
10000 completes in a too short time and may easily provide unreliable
figures because of tiny duration.
2014-11-28 09:23:39 +01:00
Matthias Petschick
61ab662691
fix benchmark memleak in loop mode
2014-11-28 02:50:17 +01:00
zhanghailei
93dce56f36
FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event
2014-10-27 14:02:52 +08:00
Byron Grobe
d423a01461
Fixed issue #1996 (Missing '-' in help message for redis-benchmark)
2014-09-11 10:21:05 -04:00
Matt Stancliff
082e9dea0e
Fix redis-benchmark abort output
2014-08-25 10:26:30 +02:00
Matt Stancliff
9b5ec6d102
redis-benchmark: Remove unused buffer
...
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.
2014-08-25 10:19:43 +02:00
CharSyam
f6c771a1fc
redis-benchmark: add auth option
...
Closes #1097
2014-08-25 10:17:33 +02:00
antirez
2e94ffb1d1
Remove warnings and improve integer sign correctness.
2014-08-13 11:44:38 +02:00
antirez
26216ed305
redis-benchmark: abort when all clients are disconnected.
2014-07-04 17:52:18 +02:00
antirez
af411f4c92
redis-benchmark: update help for new __rand_int__ form.
2013-10-28 18:13:42 +01:00
antirez
2134281040
redis-benchmark: changes to random arguments substitution.
...
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.
2013-08-08 16:42:08 +02:00
antirez
40693737f0
redis-benchmark: replace snprintf()+memcpy with faster code.
...
This change was profiler-driven, but the actual effect is hard to
measure in real-world redis benchmark runs.
2013-08-08 14:33:14 +02:00
antirez
7ab3495410
redis-benchmark: fix memory leak introduced by 22d35c6
2013-08-07 16:00:18 +02:00
antirez
22d35c646c
redis-benchmark: max pipeline length hardcoded limit removed.
2013-08-07 15:58:58 +02:00
antirez
e053e250c9
redis-benchmark: fix db selection when :rand: feature is used.
2013-08-06 19:01:54 +02:00
antirez
09c76e6800
redis-benchmark: ability to SELECT a specifid db number.
2013-08-06 18:50:54 +02:00
antirez
1d235fa5ad
Fix overflow in mstime() in redis-cli and benchmark.
...
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 .
2012-12-20 15:20:55 +01:00
antirez
95cf003ba5
redis-benchmark: seed the PRNG with time() at startup.
2012-11-30 15:41:09 +01:00
antirez
a32d1ddff6
BSD license added to every C source and header file.
2012-11-08 18:31:32 +01:00