Skip to content

Commit

Permalink
fix table rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesob committed Sep 27, 2023
1 parent 2a8120a commit 4640b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def print_comparative_times_table(runs: GroupedRuns, config=None, pfile=sys.stdo
writer = pytablewriter.MarkdownTableWriter()
vs_str = ("{}" + (" vs. {}" * (len(runs.target_names) - 1))).format(
*runs.target_names)
writer.header_list = ["bench name", "x", *runs.target_names]
writer.headers = ["bench name", "x", *runs.target_names]
writer.value_matrix = []
writer.margin = 1
writer.stream = pfile
Expand All @@ -269,7 +269,7 @@ def print_comparative_times_table(runs: GroupedRuns, config=None, pfile=sys.stdo
list(target_to_benchlist.items())[0][1].command)

cmd_writer = pytablewriter.MarkdownTableWriter()
cmd_writer.header_list = ["bench name", "command"]
cmd_writer.headers = ["bench name", "command"]
cmd_writer.value_matrix = []
cmd_writer.margin = 1
cmd_writer.stream = pfile
Expand Down

0 comments on commit 4640b92

Please sign in to comment.