diff options
Diffstat (limited to 'scripts/lib/build_perf/report.py')
| -rw-r--r-- | scripts/lib/build_perf/report.py | 5 |
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""" |
| 14 | from collections import OrderedDict, Mapping | 14 | from collections import OrderedDict, Mapping, namedtuple |
| 15 | from datetime import datetime, timezone | 15 | from datetime import datetime, timezone |
| 16 | from numbers import Number | 16 | from numbers import Number |
| 17 | from statistics import mean, stdev, variance | 17 | from statistics import mean, stdev, variance |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | AggregateTestData = namedtuple('AggregateTestData', ['metadata', 'results']) | ||
| 21 | |||
| 22 | |||
| 20 | def isofmt_to_timestamp(string): | 23 | def 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: |
