From 7557ae3622bd3b0c08ed76f22fb397705f83bb78 Mon Sep 17 00:00:00 2001 From: Michael Hladky <10064416+BioPhoton@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:52:22 +0200 Subject: [PATCH] Update tooling/measures/nx-performance/audit/project-graph.audit.ts Co-authored-by: Edouard Maleix --- tooling/measures/nx-performance/audit/project-graph.audit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/measures/nx-performance/audit/project-graph.audit.ts b/tooling/measures/nx-performance/audit/project-graph.audit.ts index cb85e03f..f4005a6d 100644 --- a/tooling/measures/nx-performance/audit/project-graph.audit.ts +++ b/tooling/measures/nx-performance/audit/project-graph.audit.ts @@ -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)) }; }