Skip to content

Some performance improvments when using a BUNCH of projects with pmd set... #3

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 14, 2015
Merged

Conversation

dkulp
Copy link
Contributor

@dkulp dkulp commented Feb 12, 2015

Some performance improvments when using a BUNCH of projects with pmd settings.

Notably:

  1. If using project .ruleset, don't reload it for EVERY SINGLE FILE
  2. Don't grab the "Workspace.run" lock if we aren't going to do anything
  3. Limit the number of threads doing PMD work to 10.

Of Note: loading Apache CXF into eclipse (50+ projects) and hitting "clean everything" would take over 1/2 an hour previously, now down to a couple minutes.

…settings.

Notably:
1) If using project .ruleset, don't reload it for EVERY SINGLE FILE
2) Don't grab the "Workspace.run" lock if we aren't going to do anything
3) Limit the number of threads doing PMD work to 10.
@adangel adangel merged commit 6d48240 into pmd:master Feb 14, 2015
@adangel
Copy link
Member

adangel commented Feb 14, 2015

Thanks awesome! Thanks a lot!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants