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

Script engine should not be created for each contained or referenced path

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Pipes 2.0.2
    • Fix Version/s: Pipes 3.0.2
    • Component/s: Extensions
    • Labels:
      None

      Description

      A container or a reference pipe will systematically set bindings to sub pipes. For that reason, it's useless to create script engine instance (and pipebinding object in general).
      Moreover it drills down performance a lot when reference pipe or container pipe are used late in the pipe (i.e. are called a lot).
      This ticket is about changing the API to include bindings in the constructor of a pipe, if null, then it can be created

        Attachments

          Activity

            People

            • Assignee:
              npeltier Nicolas Peltier
              Reporter:
              npeltier Nicolas Peltier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: