Merge "The lunch benchmarks don't have targets, so don't fail." into main am: 7963591826

Original change: https://android-review.googlesource.com/c/platform/build/+/3093718

Change-Id: Ib399d6e1b9033835ea34f22807ee4c6d008f809a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Joe Onorato
2024-05-20 15:28:13 +00:00
committed by Automerger Merge Worker

View File

@@ -188,7 +188,10 @@ def main(argv):
for key, column in summary["columns"]:
for id, cell in column:
duration_ns = statistics.median([b["duration_ns"] for b in cell])
table.SetFixedCol(cell[0]["title"], [" ".join(cell[0]["modules"])])
modules = cell[0]["modules"]
if not modules:
modules = ["---"]
table.SetFixedCol(cell[0]["title"], [" ".join(modules)])
table.Set(tuple([summary["date"].strftime("%Y-%m-%d"),
summary["branch"],
summary["tag"]]