summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/bench/explicit_start_and_end.out
blob: fa118540c96b229998bdea90446ebdff3b5bef9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cpu: [WILDCARD]
runtime: deno [WILDCARD] ([WILDCARD])

[WILDCARD]/explicit_start_and_end.ts
benchmark          time (avg)        iter/s             (min … max)       p75       p99      p995
------------------------------------------------------------------- -----------------------------
start and end  [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
start only     [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
end only       [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
double start   error: TypeError: BenchContext::start() has already been invoked.
  t.start();
    ^
    at BenchContext.start ([WILDCARD])
    at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
double end     error: TypeError: BenchContext::end() has already been invoked.
  t.end();
    ^
    at BenchContext.end ([WILDCARD])
    at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
captured       error: TypeError: The benchmark which this context belongs to is not being executed.
  captured!.start();
            ^
    at BenchContext.start ([WILDCARD])
    at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
error: Bench failed