From cae473e848561f5f9a25b3ec5bf4de21527ce603 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 28 Apr 2015 00:43:14 +0800 Subject: [PATCH] benchmarks/rpc_timing: fix stddev formula --- benchmarks/rpc_timing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/rpc_timing.py b/benchmarks/rpc_timing.py index 6f98b9e84..b14da820a 100644 --- a/benchmarks/rpc_timing.py +++ b/benchmarks/rpc_timing.py @@ -28,5 +28,5 @@ class RPCTiming(Experiment, AutoDB): self.bench() mean = sum(self.ts)/self.repeats self.rpc_time_stddev = sqrt( - sum([(t - mean)**2 for t in self.ts]))/self.repeats*s + sum([(t - mean)**2 for t in self.ts])/self.repeats)*s self.rpc_time_mean = mean*s