The lunch benchmarks don't have targets, so don't fail.

Bug: 316189534
Test: format_benchmarks
Change-Id: I5b37a99624801a9c8d5f43ded788c8f0721b45f8
This commit is contained in:
Joe Onorato 2024-05-16 12:54:27 -07:00
parent 850b65edc9
commit 159cc8c594

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"]]