Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-20264

Performance improvement: Lazy evaluation of Velocity context

    XMLWordPrintable

    Details

    • Feedback Policy:
      We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      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.

        Attachments

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

          Activity

            People

            Assignee:
            don.willis@atlassian.com Don Willis
            Reporter:
            jed Jed Wesley-Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: