From 9569c4d08afa1c9497a4910a98e8c5bbd9952642 Mon Sep 17 00:00:00 2001 From: siddontang Date: Thu, 4 Sep 2014 17:17:47 +0800 Subject: [PATCH] update benchmark --- cmd/ledis-benchmark/main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/ledis-benchmark/main.go b/cmd/ledis-benchmark/main.go index d849e23..d5f81d5 100644 --- a/cmd/ledis-benchmark/main.go +++ b/cmd/ledis-benchmark/main.go @@ -87,7 +87,7 @@ func benchRandGet() { waitBench("get", n) } - bench("get", f) + bench("randget", f) } func benchDel() { @@ -114,7 +114,7 @@ func benchRangeList10() { waitBench("lrange", "mytestlist", 0, 10) } - bench("lrange", f) + bench("lrange10", f) } func benchRangeList50() { @@ -122,7 +122,7 @@ func benchRangeList50() { waitBench("lrange", "mytestlist", 0, 50) } - bench("lrange", f) + bench("lrange50", f) } func benchRangeList100() { @@ -130,7 +130,7 @@ func benchRangeList100() { waitBench("lrange", "mytestlist", 0, 100) } - bench("lrange", f) + bench("lrange100", f) } func benchPopList() { @@ -173,7 +173,7 @@ func benchHRandGet() { waitBench("hget", "myhashkey", n) } - bench("hget", f) + bench("hrandget", f) } func benchHDel() {