diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 6c3c726ee3..a36f3c1bca 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report @@ -338,7 +338,11 @@ def print_html_report(data, id_comp, buildstats): 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] + try: + # Use the commit_time if available, falling back to start_time + start_time = get_data_item(meta, 'layers.meta.commit_time') + except KeyError: + 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