Skip to content

Commit 8b41497

Browse files
committed
chore: remove unused code
1 parent 974ca40 commit 8b41497

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/bench.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { createRequire } from "node:module";
2-
31
const runtime =
42
// eslint-disable-next-line unicorn/no-nested-ternary
53
"Bun" in globalThis ? "bun" : "Deno" in globalThis ? "deno" : "node";
@@ -10,8 +8,6 @@ console.log(
108
`> ${runtime} ${globalThis.Deno?.version.deno || globalThis.Bun?.version || process.version}`,
119
);
1210

13-
const require = createRequire(import.meta.url);
14-
1511
const initialMem = process.memoryUsage().heapUsed;
1612
let lastMem = initialMem;
1713
const logMemory = (label) => {

0 commit comments

Comments
 (0)