Various fixes

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2023-05-15 14:23:40 +03:00
parent 997e768e92
commit 863a1075cd
3 changed files with 10 additions and 6 deletions

View file

@ -141,13 +141,13 @@ class LoadReport:
html = f"""
<table border="1" cellpadding="5px"><tbody>
<th colspan="2" bgcolor="gainsboro">{short_summary}</th>
<th colspan="2" bgcolor="gainsboro">Metrics</th>
<tr><th colspan="2" bgcolor="gainsboro">{short_summary}</th></tr>
<tr><th colspan="2" bgcolor="gainsboro">Metrics</th></tr>
{self._row("Total operations", total_operations)}
{self._row("OP/sec", f"{total_rate:.2f}")}
{throughput_html}
<th colspan="2" bgcolor="gainsboro">Errors</th>
<tr><th colspan="2" bgcolor="gainsboro">Errors</th></tr>
{per_node_errors_html}
{self._row("Total", f"{total_errors} ({total_errors/total_operations*100.0:.2f}%)")}
</tbody></table><br><hr>