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 08:27:00 UTC
[jira] [Created] (SLING-10584) Warn if an invocation of a
BindingsValuesProvider takes long
Joerg Hoh created SLING-10584:
---------------------------------
Summary: 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
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)