From 602097ab6e7edd1f97ad081e4b0462b323608f37 Mon Sep 17 00:00:00 2001 From: evan Date: Sat, 23 Apr 2022 15:20:28 +0300 Subject: fix(bench): report pending summary before clearing (#14369) --- cli/tests/testdata/bench/multifile_summary.out | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'cli/tests/testdata/bench') diff --git a/cli/tests/testdata/bench/multifile_summary.out b/cli/tests/testdata/bench/multifile_summary.out index 5811e473b..fffed0226 100644 --- a/cli/tests/testdata/bench/multifile_summary.out +++ b/cli/tests/testdata/bench/multifile_summary.out @@ -1,8 +1,28 @@ +Check [WILDCARD]/bench/group_baseline.ts Check [WILDCARD]/bench/pass.ts Check [WILDCARD]/bench/group_baseline.ts cpu: [WILDCARD] runtime: deno [WILDCARD] ([WILDCARD]) +[WILDCARD]/bench/group_baseline.ts +benchmark time (avg) (min … max) p75 p99 p995 +---------------------------------------------------- ----------------------------- +noop [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] +noop2 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] + +summary + noo[WILDCARD] + [WILDCARD]x times [WILDCARD] than noo[WILDCARD] + +noop3 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] +parse url 2x [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] +parse url 6x [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] + +summary + parse url 2x + [WILDCARD]x times slower than noop3 + [WILDCARD]x times faster than parse url 6x + [WILDCARD]/bench/pass.ts benchmark time (avg) (min … max) p75 p99 p995 ------------------------------------------------- ----------------------------- -- cgit v1.2.3