Improve script execution performance
------------------------------------
Key: SLING-1724
URL: https://issues.apache.org/jira/browse/SLING-1724
Project: Sling
Issue Type: Improvement
Components: Scripting
Affects Versions: Scripting Core 2.0.10
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Scripting Core 2.0.12
The creation of the SimpleScriptContext is relatively costly (in the
DefaultSlingScript) - it takes more than 20% of the inclusion time. It seems to
be that setting up the reader and writer in the SimpleScriptContext causes this.
If we completly implement the script context, the include time is way faster.
This also fixes some inconsistency with some methods in the script context;
with the full implementation we have a fully working context wrt to the sling
scope as well
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.