Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1724

Improve script execution performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting Core 2.0.10
    • Scripting Core 2.0.14
    • Scripting
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: