update benchmark

This commit is contained in:
siddontang 2014-09-04 17:17:47 +08:00
parent 0cf898bf27
commit 9569c4d08a
1 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ func benchRandGet() {
waitBench("get", n) waitBench("get", n)
} }
bench("get", f) bench("randget", f)
} }
func benchDel() { func benchDel() {
@ -114,7 +114,7 @@ func benchRangeList10() {
waitBench("lrange", "mytestlist", 0, 10) waitBench("lrange", "mytestlist", 0, 10)
} }
bench("lrange", f) bench("lrange10", f)
} }
func benchRangeList50() { func benchRangeList50() {
@ -122,7 +122,7 @@ func benchRangeList50() {
waitBench("lrange", "mytestlist", 0, 50) waitBench("lrange", "mytestlist", 0, 50)
} }
bench("lrange", f) bench("lrange50", f)
} }
func benchRangeList100() { func benchRangeList100() {
@ -130,7 +130,7 @@ func benchRangeList100() {
waitBench("lrange", "mytestlist", 0, 100) waitBench("lrange", "mytestlist", 0, 100)
} }
bench("lrange", f) bench("lrange100", f)
} }
func benchPopList() { func benchPopList() {
@ -173,7 +173,7 @@ func benchHRandGet() {
waitBench("hget", "myhashkey", n) waitBench("hget", "myhashkey", n)
} }
bench("hget", f) bench("hrandget", f)
} }
func benchHDel() { func benchHDel() {