mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
scripts/oe-build-perf-report: add AggregateTestData class
Making the code a bit more readable. (From OE-Core rev: 25351c7cac167b1a3e8b531e2cdf708192c6fa1f) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ec5a5f28e2
commit
062bdb044c
@@ -11,12 +11,15 @@
|
||||
# more details.
|
||||
#
|
||||
"""Handling of build perf test reports"""
|
||||
from collections import OrderedDict, Mapping
|
||||
from collections import OrderedDict, Mapping, namedtuple
|
||||
from datetime import datetime, timezone
|
||||
from numbers import Number
|
||||
from statistics import mean, stdev, variance
|
||||
|
||||
|
||||
AggregateTestData = namedtuple('AggregateTestData', ['metadata', 'results'])
|
||||
|
||||
|
||||
def isofmt_to_timestamp(string):
|
||||
"""Convert timestamp string in ISO 8601 format into unix timestamp"""
|
||||
if '.' in string:
|
||||
|
||||
Reference in New Issue
Block a user