mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
01acfa71ca
- add test suite coverage for redis-benchmark - add --version (similar to what redis-cli has) - fix bug sending more requests than intended when pipeline > 1. - when done sending requests, avoid freeing client in the write handler, in theory before responses are received (probably dead code since the read handler will call clientDone first) Co-authored-by: Oran Agra <oran@redislabs.com>
6 lines
144 B
Tcl
6 lines
144 B
Tcl
proc redisbenchmark {host port {opts {}}} {
|
|
set cmd [list src/redis-benchmark -h $host -p $port]
|
|
lappend cmd {*}$opts
|
|
return $cmd
|
|
}
|