source ../tests/support/redis.tcl
set ::port 12123
+set ::tests {PING,SET,GET,INCR,LPUSH,LPOP,SADD,SPOP,LRANGE_100,LRANGE_600,MSET}
+set ::datasize 16
+set ::requests 100000
proc run-tests branches {
set runs {}
puts " redis INFO shows version: [lindex [split $i] 0]"
$r close
- set output [exec /tmp/redis-benchmark -n 100000 --csv -p $::port]
+ set output [exec /tmp/redis-benchmark -n $::requests -t $::tests -d $::datasize --csv -p $::port]
lappend runs $b $output
puts " killing server..."
catch {exec kill -9 [lindex $pids 0]}
slowset 2.2.0 2.4.0 unstable slowset
}
set results [run-tests $branches]
+ puts "\n"
+ puts "# Test results: datasize=$::datasize requests=$::requests"
puts [combine-results $results]
}