Skip to content

Commit

Permalink
Fix SSR Benchmark, 2nd attempt (#2806)
Browse files Browse the repository at this point in the history
* Fix benchmark, 2nd attempt.

* Read items, not attributes.
  • Loading branch information
futursolo committed Aug 3, 2022
1 parent e026b4f commit 108a5e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/make_benchmark_ssr_cmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ def write_benchmark(lines: List[str], content: List[Dict[str, str]]) -> None:

for i in content:
lines.append(
"| {i.name} | {i.round} | {i.min} | {i.max} | {i.mean} | {i.std_dev} |"
f"| {i['name']} | {i['round']} | {i['min']} | {i['max']} | {i['mean']} | {i['std_dev']} |"
)

lines.append("")
lines.append("</details>")
lines.append("")


def main() -> None:
Expand Down

0 comments on commit 108a5e8

Please sign in to comment.