summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/tools/redis.go
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-08-04 16:48:40 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-04 16:51:04 -0700
commitbe7079578e0907fd3f35f91e9716246c179e17e9 (patch)
tree7e9f5f77f97f5350a4e5e75988cf7ca042f43c1d /test/benchmarks/tools/redis.go
parent0ba702bd6ca36b959d153976c7bbf7c914f4f8c9 (diff)
Port sysbench benchmark.
PiperOrigin-RevId: 324918229
Diffstat (limited to 'test/benchmarks/tools/redis.go')
-rw-r--r--test/benchmarks/tools/redis.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/benchmarks/tools/redis.go b/test/benchmarks/tools/redis.go
index db32460ec..c899ae0d4 100644
--- a/test/benchmarks/tools/redis.go
+++ b/test/benchmarks/tools/redis.go
@@ -56,7 +56,6 @@ func (r *Redis) Report(b *testing.B, output string) {
func (r *Redis) parseOperation(data string) (float64, error) {
re := regexp.MustCompile(fmt.Sprintf(`"%s( .*)?","(\d*\.\d*)"`, r.Operation))
match := re.FindStringSubmatch(data)
- // If no match, simply don't add it to the result map.
if len(match) < 3 {
return 0.0, fmt.Errorf("could not find %s in %s", r.Operation, data)
}