This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use Streamline  to analyze the performance of the cocos2d game

hi everyone:

I recently used Streamline to analyze the performance of the cocos2d game, but the data too much, I want to ask, if I want to optimize the performance of the cocos2d game, I need to focus on what metrics?

I now know of are:

1. whether texture compression. "Compressed texture cache hit count" and "Compressed texture cache miss count"

2. Overdraw. "Fragments passed z/font count". Over the draw = (fragments passed z/font count)  /  resolution

3.  function of CPU time, if the floating point arithmetic takes up much, is suggested that the game should use armv7a architecture

If there are other metrics need to focus on to  optimize the performance of the cocos2d game?

thank a lot!

  • Hi Zhong,

    We maintain a Mali Optimization Guide available here: http://infocenter.arm.com/help/topic/com.arm.doc.dui0555c/DUI0555C_mali_optimization_guide.pdf. This guide contains advice on optimization workflows to successfully identify, and solve any bottlenecks present in the application. It should contain the information you need

    Regarding floating point, you can always build a few sets of libraries, for example, one for v7a, one for v7a with neon, and use the best one supported by the platform the application is running on. I seem to remember that android NDK defaults to v5 if you don't specify a target, so it's worth looking into to make sure you get the most out of the CPU.

    Thanks,

    Chris