You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2021/07/06 19:22:00 UTC

[jira] [Updated] (SLING-10584) Warn if an invocation of a BindingsValuesProvider takes long

     [ https://issues.apache.org/jira/browse/SLING-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Hoh updated SLING-10584:
------------------------------
    Fix Version/s: Scripting Core 2.4.0

> Warn if an invocation of a BindingsValuesProvider takes long
> ------------------------------------------------------------
>
>                 Key: SLING-10584
>                 URL: https://issues.apache.org/jira/browse/SLING-10584
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Core 2.3.6
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: Scripting Core 2.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While analyzing a performance problem it took me quite a while to find out that the {{addBindings}} method of a specific BindingsValuesProvider took a significant amount of time, especially because this method was invoked quite often (many JSP snippets were included during the rendering).
> When the bindings are added, there should be an INFO log message if a BindingsValuesProvider takes more than 1msec to provide the bindings. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)