mirror of
https://github.com/denoland/deno
synced 2024-08-28 12:29:31 +00:00
12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
Deno.bench("echo deno", async () => {
|
|
await new Deno.Command("echo", { args: ["deno"] }).output();
|
|
});
|
|
|
|
Deno.bench("cat 128kb", async () => {
|
|
await new Deno.Command("cat", {
|
|
args: ["./cli/bench/testdata/128k.bin"],
|
|
}).output();
|
|
});
|