4
\$\begingroup\$

I am testing the blur effect (CCEffectBlur) in Cocos 2D V3 and I found that when I add an effect to an EffectNode it takes up to 5 seconds to appear in the IOS Simulator screen. (I know that the IOS Simulator is not to test performance)

When I run the same code in my device (iPhone 6), it appears almost instant.

My problem is to test the performance in old devices like iPhone 4S or iPhone 5 but, unfortunately, I don't have those devices to do some tests.

Is there any way to check my game's performance on those devices without the devices?

This is what I am testing.

  • I have a hierarchy with an EffectNode as a root node.
  • I am using a code like the following to add the effect
    effectNode.effect = [CCEffectBlur effectWithBlurRadius:10];
\$\endgroup\$
1
\$\begingroup\$

As you have discovered, the iOS simulator is not for testing performance, so unfortunately there is no way of testing you app at a lower performance level.

I would recommend finding an iPhone 4S/5 on eBay ($140 and $200 respectively) or finding a friend with one of these phones. (or just make sure that your app can achieve very high performance on your iPhone 6 and hope it will run on a 4S (5-10x less powerful))

'Very high performance' here depends on what you are testing. Since you want to test the Blur effect (ie: graphical) performance, all you can do is ensure you have a very high FPS or very low delay between graphical updates.

Keep your app to less than 512MB of RAM (or less, the 4S only has 512 and some might be used by the system/other apps), and grab a good system load app from the store and make sure your app only uses a small fraction of resources. Take a look at some benchmarks and comparisons to compare performance.

\$\endgroup\$
  • \$\begingroup\$ About the 2 first options, I know both but I am looking for some kind of simulator to run in the computer. About the part 'very high performance on your iPhone 6', it is too difficult to measure. What would be very high performance? \$\endgroup\$ – CrApHeR Jun 22 '15 at 0:52
  • \$\begingroup\$ 'Very high performance' depends on what you are testing. Since you want to test the Blur effect (ie: graphical) performance make sure you have a very high FPS. Keep your app to less than 512MB of RAM (or less, the 4S only has 512 and some might be used by the system/other apps), and grab a good system load app from the store and make sure your app only uses a small fraction of resources. \$\endgroup\$ – Amziraro Jun 22 '15 at 3:34
  • \$\begingroup\$ @CrApHeR (I would also add an option to disable or reduce the blur effect, or an option to replace it with darkening the screen (or something) ) \$\endgroup\$ – Amziraro Jun 22 '15 at 3:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.