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