summaryrefslogtreecommitdiff
path: root/cli/bench/spawn.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-12-09 16:43:36 +0100
committerGitHub <noreply@github.com>2022-12-09 16:43:36 +0100
commitcb6700fa5aac03fb3e082f9ed2e01d74238e6a99 (patch)
treeda3edbc7b283deaeff970ba06e32c02bbfbfe010 /cli/bench/spawn.js
parent6541a0a9fd818424688003c617e4a84c3cf7d34d (diff)
unstable: remove Deno.spawn, Deno.spawnSync, Deno.spawnChild APIs (#16893)
This commit removes three unstable Deno APIs: - "Deno.spawn()" - "Deno.spawnSync()" - "Deno.spawnChild()" These APIs were replaced by a unified "Deno.Command" API.
Diffstat (limited to 'cli/bench/spawn.js')
-rw-r--r--cli/bench/spawn.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/bench/spawn.js b/cli/bench/spawn.js
deleted file mode 100644
index f5a658f3f..000000000
--- a/cli/bench/spawn.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
-
-Deno.bench("echo deno", async () => {
- await Deno.spawn("echo", { args: ["deno"] });
-});
-
-Deno.bench("cat 128kb", async () => {
- await Deno.spawn("cat", {
- args: ["./cli/bench/testdata/128k.bin"],
- });
-});