Skip to content
Snippets Groups Projects
Unverified Commit 500ab4a7 authored by Florian Fischer's avatar Florian Fischer
Browse files

make format

parent be2547d7
No related branches found
No related tags found
No related merge requests found
Pipeline #165899 failed
......@@ -37,7 +37,8 @@ def collect(result_dir) -> Data:
with open(result_file_path, 'r', encoding='utf-8') as result_file:
# record times in us
variant_data.update({
line.split(';')[2]: float(line.split(';')[0])
line.split(';')[2]:
float(line.split(';')[0])
for line in result_file.readlines()[2:]
})
......@@ -52,8 +53,10 @@ Avgs = dict[Variant, dict[str, float]]
def calc_avgs(data) -> Avgs:
"""Calculate only averages from data"""
avgs = {
t: {k: numpy.mean(ms)
for k, ms in d.items()}
t: {
k: numpy.mean(ms)
for k, ms in d.items()
}
for t, d in data.items()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment