diff --git a/cmd/ledis-storebench/main.go b/cmd/ledis-storebench/main.go index 5493ee0..6d91a89 100644 --- a/cmd/ledis-storebench/main.go +++ b/cmd/ledis-storebench/main.go @@ -46,8 +46,8 @@ func bench(cmd string, f func()) { t2 := time.Now() d := t2.Sub(t1) - fmt.Printf("%s: %0.3f micros/op, %0.2fmb/s\n", cmd, float64(d.Nanoseconds()/1e3)/float64(*number), - float64((*valueSize+16)*(*number))/(1024.0*1024.0*(d.Seconds()))) + fmt.Printf("%s: %0.3f micros/op, %0.2fmb/s %0.2fop/s\n", cmd, float64(d.Nanoseconds()/1e3)/float64(*number), + float64((*valueSize+16)*(*number))/(1024.0*1024.0*(d.Seconds())), float64(*number)/d.Seconds()) } var kvSetBase int64 = 0