summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-07-28 23:31:18 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-07-28 21:31:18 +0000
commitff96e3dc637974c6f9853f3bf9565bfd63f22b17 (patch)
treeae86ec7857d447bbfef8e0fb65c253792005fd24 /tools/http_benchmark.py
parent187310a3e151303504a1dc5830334ae7ac1fef57 (diff)
benchmarks: make latency benchmark less noisy (#2689)
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index 96a497e24..63f3e4ce5 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -184,8 +184,8 @@ def run(server_cmd, addr, merge_env=None, origin_cmd=None):
time.sleep(10) # wait for server to wake up. TODO racy.
try:
- cmd = "third_party/wrk/%s/wrk -d %s http://%s/" % (util.platform(),
- DURATION, addr)
+ cmd = "third_party/wrk/%s/wrk -d %s --latency http://%s/" % (
+ util.platform(), DURATION, addr)
print cmd
output = subprocess.check_output(cmd, shell=True)
stats = util.parse_wrk_output(output)