I wrote a pretty simple jquery mobile / phonegap app in xcode. In the simulator, it works like a charm. But the only device I have to test on is a second gen ipod touch from 2008, and when I test on the device, it is unbelievably slow, with page transitions sometimes taking as much as 25 seconds.
I have not written anything excessive or resource-demanding; in fact there's barely anything there. Just a couple divs and some text, but when I click a link to go to the next page, it takes a ghastly long time to do anything. It's practically frozen in the meantime.
Is this just because I'm using such an old device? Surely this isn't a problem with my code or the framework. (I know the first part of that sentence is laughable, but my code really is barebones-- nothing but a little basic html and some equally basic javascript.)
Prior to including jquery mobile, this all loaded reasonably quickly, in 1-2 seconds at most. After the revision; well, you already the question.