mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
5 lines
206 B
JavaScript
5 lines
206 B
JavaScript
import { realpathSync } from "node:fs";
|
|
const count = parseInt(process.env.ITERATIONS || "1", 10) || 1;
|
|
const arg = process.argv[process.argv.length - 1];
|
|
for (let i = 0; i < count; i++) realpathSync(arg);
|