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>
This commit is contained in:
Ninette Adhikari
2024-05-03 16:43:38 +02:00
committed by Richard Purdie
parent 99861c17e7
commit 314a220280
3 changed files with 80 additions and 41 deletions

View File

@@ -319,7 +319,8 @@ def measurement_stats(meas, prefix='', time=0):
stats['quantity'] = val_cls.quantity
stats[prefix + 'sample_cnt'] = len(values)
start_time = time # Add start time for both type sysres and disk usage
# Add start time for both type sysres and disk usage
start_time = time
mean_val = val_cls(mean(values))
min_val = val_cls(min(values))
max_val = val_cls(max(values))