diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-08 14:34:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 18:34:08 +0000 |
commit | f3095b8d311c85f633d280a980f76062015f8974 (patch) | |
tree | 60537fb8016ae629abed07309389649be78b39d9 /cli/bench | |
parent | e4870d84be19f4ea768933522eff437f64963730 (diff) |
chore: upgrade to dprint 0.39 (#19768)
Diffstat (limited to 'cli/bench')
-rw-r--r-- | cli/bench/fs/run.mjs | 6 | ||||
-rw-r--r-- | cli/bench/napi/bench_node.mjs | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cli/bench/fs/run.mjs b/cli/bench/fs/run.mjs index 7f27438b0..727b4126c 100644 --- a/cli/bench/fs/run.mjs +++ b/cli/bench/fs/run.mjs @@ -63,4 +63,8 @@ const readFileSync = getFunction("readFileSync"); writeFileSync("test", new Uint8Array(1024), { truncate: true }); bench(() => readFileSync("test")); -writeFileSync(new URL(`./${runtime}.json`, import.meta.url), new TextEncoder().encode(JSON.stringify(values, null, 2)), { truncate: true });
\ No newline at end of file +writeFileSync( + new URL(`./${runtime}.json`, import.meta.url), + new TextEncoder().encode(JSON.stringify(values, null, 2)), + { truncate: true }, +); diff --git a/cli/bench/napi/bench_node.mjs b/cli/bench/napi/bench_node.mjs index 7bfb63814..2593aadd2 100644 --- a/cli/bench/napi/bench_node.mjs +++ b/cli/bench/napi/bench_node.mjs @@ -1,4 +1,4 @@ -import { run, bench } from "mitata"; +import { bench, run } from "mitata"; import { createRequire } from "module"; const require = createRequire(import.meta.url); @@ -7,4 +7,4 @@ const lib = require("../../../test_napi.node"); bench("warmup", () => {}); bench("napi_get_undefined", () => lib.test_get_undefined(0)); -run();
\ No newline at end of file +run(); |