Skip to content

Commit

Permalink
docs: mention warmup in example (#67)
Browse files Browse the repository at this point in the history
see #50 / comments
  • Loading branch information
kurtextrem authored Dec 28, 2023
1 parent 7eb4a2f commit 86a6bbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ bench
})
.todo('unimplemented bench')

await bench.warmup(); // make results more reliable, ref: https://github.com/tinylibs/tinybench/pull/50
await bench.run();

console.table(bench.table());
Expand Down

0 comments on commit 86a6bbc

Please sign in to comment.