You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/09/02 15:40:55 UTC

[jira] Created: (SLING-1724) Improve script execution performance

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.


[jira] Closed: (SLING-1724) Improve script execution performance

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1724.
-----------------------------------


> 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.14
>
>
> 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.


[jira] Resolved: (SLING-1724) Improve script execution performance

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-1724.
-------------------------------------

    Resolution: Fixed

Fixed in revision 991933

> 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.