iPhone 3G frame rate stutter

My game runs really smoothly on an iTouch 2G but on my iPhone 3G i get a frame rate stutter that happens every couple of seconds. Is this a common issue seeing as the iTouch CPU is about 20% faster and there’s less going on background task wise? I’m not getting any application running out of memory warnings but i wonder if the garbage collection is causing this as the issue is very consistent.

One potential reason could be garbage collection.

The touch 2G is faster as such it is able to handle garbage collection with less impact.
Heavy usage of strings for example concatenate or worse using GetComponent all the time instead of storing the references once can have such an impact.

But thats not the only potential source actually

EDITED to relativate it

It’s not garbage collection if its happening every couple of seconds. Without knowing more specifics its impossible to say what the issue could be, poor performance can be caused by any number of issues. But the difference in real-world performance between the 3G and iTouch 2nd Gen is enormous, far more than 20% I would say, definitely optimize with the 3G in mind.

Thanks guys. I’ll have to make sure perf is good enough in the 3G and then it should be ok on everything.

aside the itouch 1st gen