From cb3885158a9b72737c97e7d0858838406e44102e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 30 Apr 2019 16:12:20 +0200 Subject: [PATCH] this is what I want --- benchmark/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/process.py b/benchmark/process.py index 442cef5..ad4d21c 100644 --- a/benchmark/process.py +++ b/benchmark/process.py @@ -30,7 +30,7 @@ def processor(lines): maxResponse=max(responseTimes) minResponse=min(responseTimes) for line in lines: - sec=line['offset'][0] + sec=int(line['offset'].split('.')[0]) if sec not in responsePerSec: responsePerSec[sec]=1 else: