mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
oe-build-perf-report: Add commit hash link to chart tooltip
Update tooltip to include the commit hash link to the poky repository (From OE-Core rev: 1187a460c2608369df8de08fe52a5542e4ab6ecd) Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5f602c1bd5
commit
f66f8fa9f6
@@ -336,10 +336,12 @@ def print_html_report(data, id_comp, buildstats):
|
||||
test_i = test_data['tests'][test]
|
||||
meas_i = test_i['measurements'][meas]
|
||||
commit_num = get_data_item(meta, 'layers.meta.commit_count')
|
||||
commit = get_data_item(meta, 'layers.meta.commit')
|
||||
# Add start_time for both test measurement types of sysres and disk usage
|
||||
start_time = test_i['start_time'][0]
|
||||
samples.append(measurement_stats(meas_i, '', start_time))
|
||||
samples[-1]['commit_num'] = commit_num
|
||||
samples[-1]['commit'] = commit
|
||||
|
||||
absdiff = samples[-1]['val_cls'](samples[-1]['mean'] - samples[id_comp]['mean'])
|
||||
reldiff = absdiff * 100 / samples[id_comp]['mean']
|
||||
|
||||
Reference in New Issue
Block a user