JIRA Dashboard is Rendering Slowly on JIRA 4.x
Symptoms
Users are experiencing slow dashboard loading when using JIRA 4.0 or higher.
Cause
JIRA 4.x dashboards use Opensocial gadgets. Gadgets are using a lot more JavaScript and AJAX. This has two repercussions:
- AJAX means more network activity.
- More JavaScript means browsers with poor JavaScript performance are more impacted. The performance of JavaScript varies dramatically from browser to browser, with some being tens or even hundreds of times faster than others
If your dashboards are taking a long time to load, its more likely that this is caused due to poor browser performance or slow network.
Diagnosis
To diagnose if the problem is on the server or the client,
Enable JIRA Profiling. Check how long it takes JIRA to load the dashboard. This is what a normal dashboard page request looks like:
2010-03-15 21:25:18,959 TP-Processor35 DEBUG WS8099 77073x34577x1 USER jira/secure/Dashboard.jspa
[atlassian.util.profiling.UtilTimerStack] [990ms] \- /jira/secure/Dashboard.jspa
As opposed to a slow server request:
2010-03-15 21:25:18,959 TP-Processor35 DEBUG WS8099 77073x34577x1 USER /jira/secure/Dashboard.jspa
[atlassian.util.profiling.UtilTimerStack] [45103ms] \- /jira/secure/Dashboard.jspa
Workaround
Slow Server Request
If, from the above diagnostics, you notice the Dashboard.jspa taking a long time, see Common causes for Jira Server crashes and performance issues. This is a sign of a more general performance problem.
Slow Client Rendering
If, from the above diagnostics, the client is taking a long time:
- Ensure that you are on the latest browser. Avoid IE6 and old browsers.
- Try using different browsers such as FireFox 4 or Chrome.
Resolution
Please track JRA-19511 for a permanent solution.