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

Improve Sightly engine performance

    XMLWordPrintableJSON

Details

    Description

      Several areas of the engine's implementation can be improved to greatly reduce compilation & rendering times:

      • rely on the dynamic classloader's cache rather than compile Use-API POJOs all the time
      • reduce the number of repository reads in favour of events for deducing if a Sightly script or Use-API POJO needs to be recompiled
      • use a per thread admin resource resolver instead of creating many resolvers in various components during the lifecycle of a request
      • optimise the RenderContext implementation code that handles object methods and fields detection

      Attachments

        1. SLING-4240.patch
          58 kB
          Radu Cotescu

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: