import { performance } from "node:perf_hooks"; import { resolve } from "node:path"; import { resolveTargetPath } from "./core.ts"; const root = resolve(process.cwd(), "ai-workspace", "security-reviews"); const started = performance.now(); for (let index = 0; index < 250; index++) resolveTargetPath(root, root, `worker-${index}/review.md`); const hotPathMs = performance.now() - started; console.log(JSON.stringify({ hotPathMs }));