I am working on an iOS app that uses iPhone’s CPU to do some complex image processing. I noticed when running on its battery, the iPhone 5 CPU is very sluggish right after you press the power switch to wake it up out of hibernation. In many cases, this “warm up” period can be as long as 5 minutes. Normally, my app can process over 28 frames per second and the CPU load is lower than 80%. But in the warm up period, it could only process 19 frames per second and the CPU load is over 95%. The only explanation I can think of is the CPU’s frequency is throttled in this warm-up period. However, the CPU is never throttled if I run my app from XCode. Besides, I never see such a throttling on other iOS devices. I’ve not tried iPad mini or iPad 4 though.
I wonder if anyone-else has seen the same CPU behavior. What can I do to make sure iPhone 5’s A6 processor is always working on this full capability?