Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
perf: improve rome benchmark performance in formatting by removing di…
Browse files Browse the repository at this point in the history
…agnostics
  • Loading branch information
connorjburton committed May 14, 2023
1 parent 22ce6c6 commit d0fc67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function benchmarkFormatter(rome) {

const dprintCommand = `${resolveDprint()} fmt --incremental=false --config '${require.resolve("./dprint.json")}' ${Object.keys(configuration.sourceDirectories).map(path => `'${path}/**/*'`).join(" ")}`;

const romeCommand = `${rome} format ${Object.keys(
const romeCommand = `${rome} format --max-diagnostics=0 ${Object.keys(
configuration.sourceDirectories,
)
.map((path) => `'${path}'`)
Expand Down

0 comments on commit d0fc67a

Please sign in to comment.