-
Improvement
-
Resolution: Done
-
Neutral
-
None
-
2.6.3
-
None
-
-
Yes
-
Empty show more show less
-
Yes
With the PR integrated in MGNLRES-319, the following was improved:
- support for glob patterns with good performance
- regex pattern caching to improve regex performance a bit
This still leaves regex pattern performance horrible, as ~ 20,000 pattern matches are performed per call. Projects would need to switch to glob patterns in order to improve performance by dimensions.
PRĀ https://git.magnolia-cms.com/projects/MODULES/repos/resources/pull-requests/91 improves performance by dimensions also for regex expressions, by determining a prefix path where to start matching from.
Existing callers of resfn will profit from this without any code changes.
Acceptance criteria
- is related to
-
MGNLRES-319 Improve ResourcesTemplatingFunctions#generate performance
- Closed