Wondering why your WAR is slow? Think of your timezone!
People have downloaded the recently released “JIRA 2.5.1″:http://www.atlassian.com/software/jira and complaining it was slow. Then it suddenly sped up, without changing anything. As Rove would say – What the?
This perplexed “us”:http://www.atlassian.com for a while, until one of our customers actually figured it out – timezones!
See if you can connect the dots:
* Australia is ahead of most of the rest of the world.
* JSP files are recompiled if the file modified timestamp is ‘ahead’ of the compiled class.
So where is all this slowness? If you download JIRA very soon after the release, your servlet engine will recompile the JSP files every request until your timezone ‘passes’ the time at which we built it.
Slow, slow, slow, fast! Hahahahah ![]()
One of life’s little mystery’s solved.