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

High number of custom fields makes issue nav really slow in IE8

      A SearcherModel is being created and added to the SearcherCollection for each custom field, on every search - even for custom fields hidden by context. This is causing JS execution times long enough in IE8 to bring up a "script running too long" error dialog. (Tested with 1000 custom fields)

      A potential fix would be to skip the construction of SearcherModels for hidden custom fields, since they cannot be added to the search anyway. However, the More Criteria sparkler will need to be modified to still allow searching for those custom fields.

      Also investigate additional strategies for improving performance when large numbers of custom fields are visible. Some easy wins:

      • avoiding the use of _.bindAll in SearcherModel
      • check if viewHtml is present before attempting to parse and clean it (viewHtml is not sent from the server if the field does not contain a value, but the code does unnecessary processing attempting to 'clean' this empty value anyway)

            [JRASERVER-30994] High number of custom fields makes issue nav really slow in IE8

            We are having more than 1000 fields and facing slowness in issue nav.

             

            Please reopen this issue to fix the issue for more than 1000 fields

            Ramesh Udari1 added a comment - We are having more than 1000 fields and facing slowness in issue nav.   Please reopen this issue to fix the issue for more than 1000 fields

            For posterity, this has been fixed for 1000 and fewer custom fields. Numbers higher than that have not been tested. We are actively working on improving this area at the moment.

            Eric Dalgliesh added a comment - For posterity, this has been fixed for 1000 and fewer custom fields. Numbers higher than that have not been tested. We are actively working on improving this area at the moment.

            A performance improvement was made in JIRA 5.2.4 which markedly improves this in all browsers (especially IE8).

            David Elkan (Inactive) added a comment - A performance improvement was made in JIRA 5.2.4 which markedly improves this in all browsers (especially IE8).

              delkan David Elkan (Inactive)
              dtang David Tang (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: