Performance regression tests #3215
Labels
an:enhancement
An improvement on existing features / rules
for:performance
The goal of this change is to improve PMD's performance
Is your feature request related to a problem? Please describe.
See #2048 (comment)
If we have a regression test that checks performance, we might see such issues earlier.
Describe the solution you'd like
The solution is not clear yet. Maybe we can leverage pmd-regression-tester to keep an eye on performance/runtime of the analysis?
The specific problem was with xpath rules, where type res was not enabled before…
Depends on the ruleset
Maybe extra rule for performance testing, that calls e.g. type res or other components (not a real rule) (eg
rulesets/internal/diagnostics.xml
) / benchmarkAs a first step: Maybe analyze a defined set of projects with every release and record the timings.
Another first step: Manual Github Actions workflow - with parameter using two PMD versions (last release, current SNAPSHOT) - to compare the timings.
Describe alternatives you've considered
TODO
Additional context
The text was updated successfully, but these errors were encountered: