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.
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.