[
https://issues.apache.org/jira/browse/SLING-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-4240:
--------------------------------
Attachment: SLING-4240.patch
> Improve Sightly engine performance
> ----------------------------------
>
> Key: SLING-4240
> URL: https://issues.apache.org/jira/browse/SLING-4240
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Radu Cotescu
> Fix For: Scripting Sightly Engine 1.0.0
>
> Attachments: SLING-4240.patch
>
>
> Several areas of the engine's implementation can be improved to greatly
> reduce compilation & rendering times:
> * rely on the dynamic classloader's cache rather than compile Use-API POJOs
> all the time
> * reduce the number of repository reads in favour of events for deducing if a
> Sightly script or Use-API POJO needs to be recompiled
> * use a per thread admin resource resolver instead of creating many resolvers
> in various components during the lifecycle of a request
> * optimise the {{RenderContext}} implementation code that handles object
> methods and fields detection
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)