cocos2d/cocos2d-x — pull request #905 by nicolasgramlich (2012-05-22 00:45:55+00:00)
Title: Fixed CCDirector using CCLabelBMFont instead of CCLabelTTF.

The usage of CCLabelTTF for a frequently updating labels is discouraged, since it creates a significant amount of very short lived objects/textures. Especially on Android this caused the Garbage Collector to run every 2 seconds, disposing about 200kB/second worth of Objects (Bitmap, Canvas, Paint, String, Pattern, ...) + costly JNI calls.

Things to change along with this pull request are:
* Add a fps_images-hd.png
* Verify that the iOS and MSVC templates still work correctly.