mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-06 02:09:55 +03:00
Fix angle_metrics.json handling
Nested for loops work the other way around :S Bug: angleproject:7299 Change-Id: Ic1d21a6a354f9cebca09ae0975eba126ab6406f4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4143440 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Roman Lavrov <romanl@google.com> Auto-Submit: Roman Lavrov <romanl@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
committed by
Angle LUCI CQ
parent
ca56b96688
commit
5c4e1c35d9
@@ -300,7 +300,7 @@ def process_perf_results(output_json,
|
||||
for directory in directories:
|
||||
with open(os.path.join(directory, 'angle_metrics.json')) as f:
|
||||
metrics = json.load(f)
|
||||
metric_names = list(set(d['metric'] for d in group for group in metrics))
|
||||
metric_names = list(set(d['metric'] for group in metrics for d in group))
|
||||
logging.info('angle_metrics: len=%d metrics=%s (directory=%s)' %
|
||||
(len(metrics), '|'.join(metric_names), directory))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user