Skip to content

Commit

Permalink
fix benchmarks script
Browse files Browse the repository at this point in the history
  • Loading branch information
thatstoasty committed Dec 21, 2024
1 parent 14c1ca4 commit 2e8c2cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions benchmarks/run.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ fn table_styling(row: Int, col: Int) -> mog.Style:


fn main() raises:
var results = mog.new_table()
results.style_function = table_styling
results = results.set_headers(
var results = mog.Table.new().set_style(table_styling).set_headers(
"Name",
"Mean (ms)",
"Total (ms)",
Expand Down Expand Up @@ -67,4 +65,4 @@ fn main() raises:
# str(bs_big_report.warmup_iters),
# )

print(results.render())
print(results)

0 comments on commit 2e8c2cc

Please sign in to comment.