I've recently started developing with PhoneGap and noticed a very low
screen update while using DIVs and Javascript functions to move
objects on the screen (on my HTC Magic device).
So I've switched over to the "new" HTML5 canvas element and the
refresh rate was even poorer. Then I've written a simple html5 canvas
benchmark, which justs tests some basic image drawings (contrary to the
freeciv benchmark).
Read more on the Benchmark website:
If you have some time left (3 minutes I'd say), please run the benchmark
on your phone and submit the results afterwards.
You do not need to create a PhoneGap application - it's quite ok to run
it in your standard browser (but please use the comment field to
indicate this). If you find the time to build a fullscreen PhoneGap
application this would be nice, too. Download the Benchmark files
(http://c5bench.com/C5Bench-v1.0.10.zip) and put it into your
assets/www-folder, set full screen mode and run it. Thanks!
Any help/suggestions are welcome!
Regards and thanks,
Dennis
P.S.:
If you develop for Android devices, change the DroidGap.java on line 71
to
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
in order to run you application full screen.
Read more on the Benchmark website:
http://www.c5bench.com/
I've updated the results page and added a little bit more colour.
Regards,
Dennis