Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-30068

Attachment thumbnails cause slow loading times in issue view

    XMLWordPrintable

Details

    Description

      Attaching images to the issue causes a significant performance drop. For ~50 images, loading times jump to ~18 sec.

      I've noticed this on Jira 5.0.7, 5.1 and 5.1.5 (and probably happens to the versions in between).

      This seems to be caused by the usage of ZipFile from apache.compress rather than java.util (which was used in 5.0.5) in AttachmentZipKit. (see attached image)

      Using the java.util version of ZipFile dropped the loading times for an issue with ~150 images from 47s to 12s.

      Attachments

        1. AttachmentZipKit.java_mod
          11 kB
        2. call_tree.png
          call_tree.png
          43 kB

        Issue Links

          Activity

            People

              tcampbell Trevor Campbell (Inactive)
              2ab2c0c69c28 FlorinM
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: