Performance improvement: Lazy evaluation of Velocity context

XMLWordPrintable

      One of the most significant items in the profiled performance builds is in the ConfluenceVelocityManager.addContainerContexts(...) method - specifically in the calls into Spring.

      In some of the profiles it takes 6% of runnable time and 13% of blocked time.

      As a lot of these container contexts are not required, lazily requesting them when actually required should significantly reduce pressure on Spring.

        1. CONF-20264.patch
          33 kB
        2. CONF-20264-tests.patch
          5 kB
        3. ContextUtils.java.patch
          6 kB

              Assignee:
              Don Willis
              Reporter:
              Jed Wesley-Smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: