John Sully
2509750fc7
Fix issue #2 , check posix return values
...
Former-commit-id: 01a529cbda919d5514a4a445b26a0408115173ca
2019-03-02 20:43:03 -05:00
John Sully
15c301798f
Merge branch 'unstable' of https://github.com/antirez/redis into unstable
...
We want that awesome multithreaded benchmark
Former-commit-id: 07594d4f958892f9270a18bc182728e4dfbf8144
2019-03-02 18:07:18 -05:00
artix
cb1be1ca81
Redis benchmark: update help with threads/cluster options
2019-03-01 18:15:44 +01:00
artix
a79b84ab7f
Redis benchmark: fix default hset test key
2019-03-01 17:53:14 +01:00
artix
4e78d5cd40
Redis Benchmark: update slots configuration after MOVED/ASK reply
2019-03-01 17:53:14 +01:00
artix
daaff484a6
Redis Benchmark: use atomic var for liveclients in 'createClient'
2019-03-01 17:53:14 +01:00
artix
834809cbb3
Redis Benchmark: display 'save' and 'appendonly' configuration
2019-03-01 17:53:14 +01:00
artix
649c947a0f
Redis benchmark: add {tag} to all default tests
2019-03-01 17:53:14 +01:00
artix
eb8b4feef7
Redis benchmark: fixed issued with config.hostip and code cleanup
2019-03-01 17:53:14 +01:00
artix
f95e01266e
Redis benchmark: configurable thread count in cluster mode and fixes
2019-03-01 17:53:14 +01:00
artix
5fd5799cf9
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
434f761304
Redis benchmark: table-based slot hashtag placeholder replacement in cluster mode.
2019-03-01 17:53:14 +01:00
artix
dfd3cc5f78
Added basic support for clusters to redis-benchmark.
2019-03-01 17:53:14 +01:00
artix
563885d6d9
Thread support for redis-benchmark.
2019-03-01 17:53:14 +01:00
Madelyn Olson
b79efef5d6
Updated redis-benchmark so it doesn't show 1 value above 2ms at higher precision
2019-02-26 21:12:55 +00:00
John Sully
ebf0ae3e97
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
antirez
86802d4f26
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
f9bababaa7
Rename variable
2019-02-13 21:03:31 +00:00
Madelyn Olson
93640b0a9d
Updated redis benchmark with us precision support
2019-02-13 19:52:48 +00:00
John Sully
d3fc46b3a8
complete rebranding with tests passing
2019-02-09 10:11:46 -05:00
John Sully
2f753a3539
complete malloc memory class work, and pass tests
2019-02-04 16:56:13 -05:00
John Sully
a476fdfd8c
Support configurable file backed scratch
2019-02-01 13:54:59 -05:00
John Sully
0ffcf355fe
Custom flash heap
2019-01-29 18:10:46 -05:00
zhaozhao.zz
c0f611f12a
redis-benchmark: bugfix - handle zero liveclients in right way
2018-01-03 12:47:25 +08:00
zhaozhao.zz
84af8a13bb
redis-benchmark: bugfix - handle zero liveclients in right way
2018-01-03 12:47:25 +08:00
Mota
81fe7a4733
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
Mota
b4ea09446f
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
25c231c4c1
Merge pull request #1998 from grobe0ba/unstable
...
Fix missing '-' in redis-benchmark help output (Issue #1996 )
2017-07-24 15:18:08 +02:00
Salvatore Sanfilippo
dc73925823
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
2a84927f35
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
antirez
d78d6b22c6
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
hylepo
dbb6cb442a
Update redis-benchmark.c
...
Fixing typo in the usage of redis-benchmark
2016-11-11 10:33:48 +08:00
hylepo
43adf0a308
Update redis-benchmark.c
...
Fixing typo in the usage of redis-benchmark
2016-11-11 10:33:48 +08:00
antirez
2a1247309a
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
f07cc50f89
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
32f80e2f1b
RDMF: More consistent define names.
2015-07-27 14:37:58 +02:00
antirez
056a0ca199
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
53c082ec39
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
60a9418ed9
redis-benchmark: Add RPUSH and RPOP tests
2015-01-02 11:16:08 -05:00
antirez
ff01ce55d8
Removed useless space in redis-benchmark.c.
2014-12-11 15:16:20 +01:00
Salvatore Sanfilippo
f1742ac9df
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
562e72943b
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
7923d71fb7
replaced // comments #2150
2014-12-01 22:54:49 +00:00
azure provisioned user
560ec60ed4
redis-benchmark AUTH command to be discarded after the first send #2150
2014-12-01 21:42:40 +00:00
antirez
640d30c527
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
0ae65bec60
fix benchmark memleak in loop mode
2014-11-28 02:50:17 +01:00
zhanghailei
b4c4be785c
FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event
2014-10-27 14:02:52 +08:00
Byron Grobe
087b19237c
Fixed issue #1996 (Missing '-' in help message for redis-benchmark)
2014-09-11 10:21:05 -04:00
Matt Stancliff
1f8a6d806c
Fix redis-benchmark abort output
2014-08-25 10:26:30 +02:00
Matt Stancliff
aa404fc11b
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