Radu Cotescu created SLING-4240:
-----------------------------------

             Summary: 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


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)

Reply via email to