Skip to content

Performance experiments#332

Draft
adangel wants to merge 3 commits intoChuckJonas:masterfrom
adangel:performance-experiments
Draft

Performance experiments#332
adangel wants to merge 3 commits intoChuckJonas:masterfrom
adangel:performance-experiments

Conversation

@adangel
Copy link
Copy Markdown
Collaborator

@adangel adangel commented Jun 19, 2025

Add some options and logging to analyze performance problems reported in #326.

In theory, "spawn" should be used to call PMD, avoiding the buffering problem. Switching to this by default would make the config option commandBufferSize unnecessary.

A simple counter can prevent PMD processes from piling up. Maybe we should cancel the old one and start a new one?

New config options:

  • limitPMDProcesses: enabled by default. new behavior - this could serve as a hotfix, but doesn't address the unknown root cause.
  • childProcessMethod: by default "exec". Can be changed to "execFile" and "spawn" to test, which one is "faster".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant