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

perf: improve rome benchmark performance in formatting by removing di… #4475

Merged
merged 1 commit into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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