Commit 2a8f9388 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Changed to median values

parent ff3b9e75
...@@ -37,8 +37,8 @@ def monitor(): ...@@ -37,8 +37,8 @@ def monitor():
rest_s.append(time.time() - start) rest_s.append(time.time() - start)
return ", ".join([ return ", ".join([
f"gRPC: {statistics.mean(grpc_s) * 1000:.2f}ms", f"gRPC: {statistics.median(grpc_s) * 1000:.2f}ms",
f"REST: {statistics.mean(rest_s) * 1000:.2f}ms", f"REST: {statistics.median(rest_s) * 1000:.2f}ms",
f"n = { n }" f"n = { n }"
]) ])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment