mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
chore: fix flaky integration::bench::multifile_summary
test (#14771)
This commit is contained in:
parent
c01fcef93f
commit
7d9e8baebb
3 changed files with 16 additions and 19 deletions
8
cli/tests/testdata/bench/group_baseline.out
vendored
8
cli/tests/testdata/bench/group_baseline.out
vendored
|
@ -1,6 +1,6 @@
|
|||
[WILDCARD]/bench/group_baseline.ts
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
---------------------------------------------------- -----------------------------
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
------------------------------------------------------ -----------------------------
|
||||
noop [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
noop2 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
|
@ -10,9 +10,9 @@ summary
|
|||
|
||||
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]
|
||||
parse url 200x [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
summary
|
||||
parse url 2x
|
||||
[WILDCARD]x slower than noop3
|
||||
[WILDCARD]x faster than parse url 6x
|
||||
[WILDCARD]x faster than parse url 200x
|
||||
|
|
11
cli/tests/testdata/bench/group_baseline.ts
vendored
11
cli/tests/testdata/bench/group_baseline.ts
vendored
|
@ -8,11 +8,8 @@ Deno.bench("parse url 2x", { group: "url", baseline: true }, () => {
|
|||
new URL("https://deno.land/std/http/server.ts");
|
||||
});
|
||||
|
||||
Deno.bench("parse url 6x", { group: "url" }, () => {
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
Deno.bench("parse url 200x", { group: "url" }, () => {
|
||||
for (let i = 0; i < 200; i++) {
|
||||
new URL("https://deno.land/std/http/server.ts");
|
||||
}
|
||||
});
|
||||
|
|
16
cli/tests/testdata/bench/multifile_summary.out
vendored
16
cli/tests/testdata/bench/multifile_summary.out
vendored
|
@ -5,8 +5,8 @@ cpu: [WILDCARD]
|
|||
runtime: deno [WILDCARD] ([WILDCARD])
|
||||
|
||||
[WILDCARD]/bench/group_baseline.ts
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
---------------------------------------------------- -----------------------------
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
------------------------------------------------------ -----------------------------
|
||||
noop [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
noop2 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
|
@ -16,12 +16,12 @@ summary
|
|||
|
||||
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]
|
||||
parse url 200x [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
summary
|
||||
parse url 2x
|
||||
[WILDCARD]x slower than noop3
|
||||
[WILDCARD]x faster than parse url 6x
|
||||
[WILDCARD]x faster than parse url 200x
|
||||
|
||||
[WILDCARD]/bench/pass.ts
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
|
@ -38,8 +38,8 @@ bench8 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD
|
|||
bench9 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
[WILDCARD]/bench/group_baseline.ts
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
---------------------------------------------------- -----------------------------
|
||||
benchmark time (avg) (min … max) p75 p99 p995
|
||||
------------------------------------------------------ -----------------------------
|
||||
noop [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
noop2 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
|
@ -49,9 +49,9 @@ summary
|
|||
|
||||
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]
|
||||
parse url 200x [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
||||
|
||||
summary
|
||||
parse url 2x
|
||||
[WILDCARD]x slower than noop3
|
||||
[WILDCARD]x faster than parse url 6x
|
||||
[WILDCARD]x faster than parse url 200x
|
||||
|
|
Loading…
Reference in a new issue