You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2014/12/13 13:36:13 UTC

[jira] [Updated] (SLING-4240) Improve Sightly engine performance

     [ 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)