kaldor/pugpig — Issue #33: Performance Issue First Load from xcode
Author: coldes
Created: 2012-02-13 12:16:38+00:00
State: open

Hello
My app [an Audio Story Book for Children] is complete and currently I am "road testing" plus still doing the odd tweak to fine tune performance on the iPad gen1. A major tweak was finding some JS code that prevents my activity pages from swiping/scrolling, ie locking them in place, so I have the audio story book pages using pugpig's default page swipe [brilliant], and then for the individual activity pages which require more robust user interaction [ie puzzle pages] these pages are now locked [brilliant], so the best of both worlds.

A dumb question I wish to ask, but first the scenario...
1. The app is running well, considering the amount of webkit animation, audio files, etc that my gen1 has to deal with. [Performance on an ipad2 appears to be better]
2. Every now and then, due to changes I have made to some image assets, I delete the app from the ipad to do a "fresh" load from xcode
3. I delete the app and "restart" the ipad
4. Then, when running xcode to Load the app onto the ipad, this is where I have app crashes, xcode memory warnings, plus as the app is trying to load I hear audio snippets and my first page animations are jerky. After a few xcode restarts and app restarts the app then runs OK and all is good every time.

My question: Is this only happening because xcode is loading for the "first" time? My concern is, and this is the dumb bit, would this "buggy" first load/start happen the first time the app is downloaded and run by the end user, which would result in a unfavourable experience. From my end It seems the app is caching the pages [this is my understanding of how pugpig treats all the html and assets] however would this be "the norm" for the first time end user?

Any thoughts?

Also, ages ago we [thru Jon M] did a Launch Page work around for Landscape orientation issue which I am still using. Was that problem fixed your end. I downloaded the pugpig framework early December?

Link to AppViewContoller.m, AppDelegate.m and xcode memory log as RTFs in ZIP
http://dl.dropbox.com/u/7494446/AppInfo.zip

thanks in advance and regards,
Damien