summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/build_perf/report.py')
-rw-r--r--scripts/lib/build_perf/report.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py
index eb00ccca2d..d99a36797f 100644
--- a/scripts/lib/build_perf/report.py
+++ b/scripts/lib/build_perf/report.py
@@ -11,12 +11,15 @@
11# more details. 11# more details.
12# 12#
13"""Handling of build perf test reports""" 13"""Handling of build perf test reports"""
14from collections import OrderedDict, Mapping 14from collections import OrderedDict, Mapping, namedtuple
15from datetime import datetime, timezone 15from datetime import datetime, timezone
16from numbers import Number 16from numbers import Number
17from statistics import mean, stdev, variance 17from statistics import mean, stdev, variance
18 18
19 19
20AggregateTestData = namedtuple('AggregateTestData', ['metadata', 'results'])
21
22
20def isofmt_to_timestamp(string): 23def isofmt_to_timestamp(string):
21 """Convert timestamp string in ISO 8601 format into unix timestamp""" 24 """Convert timestamp string in ISO 8601 format into unix timestamp"""
22 if '.' in string: 25 if '.' in string: