Performance Testing

Topics: Performance
Feb 22, 2013 at 3:16 PM
We've decided to start performance testing cocos2d-xna. I ran the Sprites test - where you tap the screen to make Grossini - and after about 50 sprites, I left the test run for 10 hours. The tablet did not crash, no out of memory errors, and after 10 hours the test app was still responsive and the tablet was happy. This test randomly rotates Grossini (each one independently) using just Sprites, no SpriteBatch.

This was tested on an ACER Iconia A500 Android 4.1 tablet using MonoGame 3 (develop) and MonoDriod 4.45

The next test: Particles
Feb 22, 2013 at 9:04 PM
Ran the Particles - Multiple emitter - test and for 6 hours it ran just fine without any degrade in performance.

Next Test: Effects/Shaky 3D
Mar 6, 2013 at 6:11 PM
Effects/Shaky3D ran for nearly two weeks and it is still going.

Next Test: Label Test
Mar 7, 2013 at 5:05 PM
We let the label test run for 8 hours and no memory leaks or performance problems detected.

We let the sprite tests, that pull sprites from frames and then animates the, run for 12 hours and no performance or memory issues detected.
Aug 15, 2013 at 8:23 PM
Today we pushed several changes to the Box2D implementation that significantly improve its performance. The standard dropping boxes test once only dropped 160 boxes before it halted, now it will drop over 400.