benchmarks: make latency benchmark less noisy (#2689)

This commit is contained in:
Bartek Iwańczuk 2019-07-28 23:31:18 +02:00 committed by Ryan Dahl
parent 187310a3e1
commit ff96e3dc63
6 changed files with 23 additions and 8 deletions

View file

@ -384,7 +384,7 @@ def parse_wrk_output(output):
line)
if stats['max_latency'] is None:
stats['max_latency'] = extract_max_latency_in_milliseconds(
r'Latency(?:\s+(\d+.\d+)([a-z]+)){3}', line)
r'\s+99%(?:\s+(\d+.\d+)([a-z]+))', line)
return stats