summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/bench/bench_formatting.out8
-rw-r--r--cli/tests/testdata/bench/bench_formatting.ts3
2 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/bench/bench_formatting.out b/cli/tests/testdata/bench/bench_formatting.out
new file mode 100644
index 000000000..9539e712f
--- /dev/null
+++ b/cli/tests/testdata/bench/bench_formatting.out
@@ -0,0 +1,8 @@
+Check [WILDCARD]/bench/bench_formatting.ts
+cpu: [WILDCARD]
+runtime: deno [WILDCARD] ([WILDCARD])
+
+[WILDCARD]/bench/bench_formatting.ts
+benchmark time (avg) (min … max) p75 p99 p995
+------------------------------------------------- -----------------------------
+[WILDCARD] [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] \ No newline at end of file
diff --git a/cli/tests/testdata/bench/bench_formatting.ts b/cli/tests/testdata/bench/bench_formatting.ts
new file mode 100644
index 000000000..fdee15abb
--- /dev/null
+++ b/cli/tests/testdata/bench/bench_formatting.ts
@@ -0,0 +1,3 @@
+Deno.bench("Date.now", () => {
+ Date.now();
+});