blob: 5b57dd4f67e091e2f2244e21ebde59228e88816e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright 2018-2022 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();
});
|