Skip to content

Commit

Permalink
benchmark: fix markdown table if some packages missed
Browse files Browse the repository at this point in the history
  • Loading branch information
pohmelie committed Dec 3, 2017
1 parent 55ef481 commit debe417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def non_dict_as_original(original, wrapper):
module_by_name = dict(WRAPPER_NAMES)
row = ["{} ({})".format(name, module_by_name[name]) for name in head]
print("|".join(["", ""] + row + [""]))
print("|:---" + "|:---:" * len(WRAPPER_NAMES) + "|")
print("|:---" + "|:---:" * len(WRAPPERS) + "|")
for (title, _), row in zip(BENCHMAKRS, rows):
values = []
fastest = min(v for v in row if isinstance(v, float))
Expand Down

0 comments on commit debe417

Please sign in to comment.