[
https://issues.apache.org/jira/browse/SLING-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh resolved SLING-10584.
-------------------------------
Resolution: Fixed
PR merged.
> 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: 3.5h
> 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)