Skip to content

Commit

Permalink
chore(misc): remove perf timings from individual createNodes files (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 26, 2024
1 parent c5df990 commit f32f692
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/nx/src/project-graph/plugins/utils.ts
Expand Up @@ -65,7 +65,6 @@ export async function runCreateNodesInParallel(
const results: CreateNodesResultWithContext[] = [];

const promises: Array<Promise<void>> = configFiles.map(async (file) => {
performance.mark(`${plugin.name}:createNodes:${file} - start`);
try {
const value = await plugin.createNodes[1](file, options, context);
if (value) {
Expand All @@ -83,13 +82,6 @@ export async function runCreateNodesInParallel(
file,
})
);
} finally {
performance.mark(`${plugin.name}:createNodes:${file} - end`);
performance.measure(
`${plugin.name}:createNodes:${file}`,
`${plugin.name}:createNodes:${file} - start`,
`${plugin.name}:createNodes:${file} - end`
);
}
});

Expand Down

0 comments on commit f32f692

Please sign in to comment.