summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/report.py
diff options
context:
space:
mode:
authorNinette Adhikari <13760198+ninetteadhikari@users.noreply.github.com>2024-05-03 16:43:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-15 16:39:19 +0100
commit314a220280840b5f0f52becc928b16d0ee7d8f2b (patch)
tree1c1ef9222177542aeed9425f509da1bef17ea1bb /scripts/lib/build_perf/report.py
parent99861c17e7a47cbbd492f98336439a5ab3e8742e (diff)
downloadpoky-314a220280840b5f0f52becc928b16d0ee7d8f2b.tar.gz
oe-build-perf-report: Improve report styling and add descriptions
Styling updates are added including page margin, labels for x and y axis, tooltip, and section descriptions. (From OE-Core rev: 2a2568fcf1a3f8e467bd814f4fb13dffae8ec61d) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/report.py')
-rw-r--r--scripts/lib/build_perf/report.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py
index 82c56830d7..f4e6a92e09 100644
--- a/scripts/lib/build_perf/report.py
+++ b/scripts/lib/build_perf/report.py
@@ -319,7 +319,8 @@ def measurement_stats(meas, prefix='', time=0):
319 stats['quantity'] = val_cls.quantity 319 stats['quantity'] = val_cls.quantity
320 stats[prefix + 'sample_cnt'] = len(values) 320 stats[prefix + 'sample_cnt'] = len(values)
321 321
322 start_time = time # Add start time for both type sysres and disk usage 322 # Add start time for both type sysres and disk usage
323 start_time = time
323 mean_val = val_cls(mean(values)) 324 mean_val = val_cls(mean(values))
324 min_val = val_cls(min(values)) 325 min_val = val_cls(min(values))
325 max_val = val_cls(max(values)) 326 max_val = val_cls(max(values))