From 36ae37604a0ddab4349df6eb6fafb8ae39fd20fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 2 Aug 2023 01:55:23 +0200 Subject: feat(bench): print iter/s in the report (#19994) This commit adds "iter/s" column to the console report generated by "deno bench" subcommand. --- cli/tests/testdata/bench/only.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/testdata/bench/only.out') diff --git a/cli/tests/testdata/bench/only.out b/cli/tests/testdata/bench/only.out index b874c9a96..00338af8e 100644 --- a/cli/tests/testdata/bench/only.out +++ b/cli/tests/testdata/bench/only.out @@ -3,7 +3,7 @@ cpu: [WILDCARD] runtime: deno [WILDCARD] ([WILDCARD]) [WILDCARD]/bench/only.ts -benchmark time (avg) (min … max) p75 p99 p995 -------------------------------------------------- ----------------------------- +benchmark time (avg) iter/s (min … max) p75 p99 p995 +--------------------------------------------------------------- ----------------------------- only [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] error: Bench failed because the "only" option was used -- cgit v1.2.3