From af1c8c0e8969bfc72699914255ba37e30c104c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Gro=C3=9F?= Date: Thu, 28 Dec 2023 15:09:46 +0100 Subject: [PATCH] docs: mention `warmup` in example see https://github.com/tinylibs/tinybench/pull/50 / comments --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4a48fd7..7e1a941 100644 --- a/README.md +++ b/README.md @@ -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());