Robert Green

Greenhorn
+ Follow
since May 20, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Robert Green

Ed Burnette wrote:Android performance can be very good or very bad depending on what you're trying to do.

Very bad: doing lots of calculations in a loop, especially if it involves floating point or memory management
Very good: taking advantage of all the built-in libraries, for example 2d and 3d graphics and networking

See this page for some tips: http://d.android.com/guide/practices/design/performance.html



I've had to do a ton of performance testing to tweak out the algorithms and drawing code for all of my games. I follow all the rules that google listed for optimizing your code but often times, you have to really start stripping things out to figure out what's slow. That's why I put together a great little Android project that allows you to plug in snippets of code to see how many FPS you can get with them. I use it when optimizing my games. This is a must-have for Android game developers, and also is a good jump-off point for a first game.

The code is here - http://www.rbgrn.net/content/286-how-to-test-android-performance-using-fps

Enjoy!
15 years ago