mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Fix SSR Benchmark, 2nd attempt (#2806)
* Fix benchmark, 2nd attempt. * Read items, not attributes.
This commit is contained in:
parent
e026b4f54e
commit
108a5e80ba
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user