Skip to content

Commit

Permalink
Update tooling/measures/nx-performance/audit/project-graph.audit.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Edouard Maleix <[email protected]>
  • Loading branch information
BioPhoton and getlarge authored Sep 16, 2024
1 parent 915bfd8 commit 7557ae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export function scoreProjectGraphDuration(

export async function projectGraphTiming(): Promise<{ duration: number }> {
const start = performance.now();
await execFile('npx nx show projects');
execFile('npx nx show projects', { env: {...process.env, NX_DAEMON: false, NX_CACHE_PROJECT_GRAPH: false, NX_ISOLATE_PLUGINS: true });
return { duration: Number((performance.now() - start).toFixed(3)) };
}

0 comments on commit 7557ae3

Please sign in to comment.