update zest range benchmark

This commit is contained in:
siddontang 2014-05-13 09:24:18 +08:00
parent 44ecf7a7b7
commit 3cf448db0e
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ func benchZIncr() {
func benchZRangeByScore() {
f := func() {
waitBench("zrangebyscore", "myzsetkey", 0, rand.Int())
waitBench("zrangebyscore", "myzsetkey", 0, rand.Int(), "withscores", "limit", rand.Int()%100, 100)
}
bench("zrangebyscore", f)
@ -203,7 +203,7 @@ func benchZRangeByRank() {
func benchZRevRangeByScore() {
f := func() {
waitBench("zrevrangebyscore", "myzsetkey", 0, rand.Int())
waitBench("zrevrangebyscore", "myzsetkey", 0, rand.Int(), "withscores", "limit", rand.Int()%100, 100)
}
bench("zrevrangebyscore", f)