I am also having a lot of performance issues with Graphics 2.0.
I am using the latest build (2014.2122), and I am not using any 2.0 effects.
First of all, Storyboard is not as smooth when going from one screen to another left/right up/down. Instead of transitioning smoothly as it did with Graphics 1.0, it stutters or jumps straight to the next screen (happens on iPad1, iPad 2, iPhone 4, iPhone5).
But the main problem seem to be with the loading of images. Everything is a bit slower in iPad 1 and iPhone 4, but NOT on iPad 2 and iPhone 5 (except for Storyboard).
This is most noticeable when I use Fruit-Ninja-like code that creates a line when you touch the screen to “slice” an object:
line=display.newImage(“images/line-effect.png”)
line.x=v.x line.y=v.y
line.alpha=.15;line.xScale=1.5;line.yScale=1.5; line.blendMode=“add”
line.rotation=math.random(0, 360)
transition.to(line, {time = lineFadeTime, alpha = 0, xScale = 0.1, yScale = 0.1, onComplete = function(event) if line then if line.removeSelf then line:removeSelf(); line = nil; end; end; end})
This code basically stops my entire game if “slice” left to right with my finger quickly, several times.
Even if I comment the 3rd, 4th, 5th lines of this code, I still get the slow performance, so it is not an issue with alpha or transitions. I also tested loading JPGs with no alpha, and I still got the same issue. If I change the code to draw a circle or line instead of loading an image, then the performance is fine.
This did not happen in Graphics 1.0 (I have builds with each version installed side by side on the devices).
I am assuming the same issue is making Storyboard slower (loading a lot of images quickly, before switching to another screen). Once the screen loads, going back to the previous screen is smooth.
I hope you are aware of these issues and you are working on a fix or can suggest a workaround.
Thank you,
Jorge
FYI: Using the old Sprite Library DOES slow down performance and this is not the cause of the problem either, since I transitioned all my animations to the new Sprite engine.