[
https://issues.apache.org/jira/browse/SLING-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962867#comment-16962867
]
Robert Munteanu commented on SLING-8814:
----------------------------------------
The {{scripting.jsp}} bundle also seems to use the commons.compiler -
https://github.com/apache/sling-org-apache-sling-scripting-jsp/blob/1ae4866ef188fa879e544f116d11331feb88e276/pom.xml#L141-L146
.
> Create metrics for number of compilations
> -----------------------------------------
>
> Key: SLING-8814
> URL: https://issues.apache.org/jira/browse/SLING-8814
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Reporter: Robert Munteanu
> Priority: Major
> Fix For: Commons Compiler 2.3.8
>
>
> A high number of compilations can impact the system performance negatively.
> Additionally, there may be scenarios where compilation should never have
> happened, e.g. scripts were precompiled using Maven tooling or a warmup phase
> was executed.
> We should track the number of compilation events as a metrics to expose these
> kinds of issues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)