Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-7071

GH.ControlChart.Data.compressAxis is really really slow.

This issue is archived. You can view it, but you can't modify it. Learn more

      Not sure whether this is new or has been there before

            [JSWSERVER-7071] GH.ControlChart.Data.compressAxis is really really slow.

            I profiled this in Chrome over a 6 month period with a few hundred issues (generated using the JIRA data generator)

            This particular method doesn't appear to be very high in the list of long methods. It was making a lot of calls to gh.storage.get which was slow so I've fixed this to store the value in a js variable so it only needs to hit the storage once per page load.

            Also checking and unchecking the box is not likely to be a common action so I don't think this is one we should take more time on.

            JoanneA (Inactive) added a comment - I profiled this in Chrome over a 6 month period with a few hundred issues (generated using the JIRA data generator) This particular method doesn't appear to be very high in the list of long methods. It was making a lot of calls to gh.storage.get which was slow so I've fixed this to store the value in a js variable so it only needs to hit the storage once per page load. Also checking and unchecking the box is not likely to be a common action so I don't think this is one we should take more time on.

              Unassigned Unassigned
              miruflin Michael Ruflin (Inactive)
              Archiver:
              mandreacchio Michael Andreacchio

                Created:
                Updated:
                Resolved:
                Archived: