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