define('DISALLOW_FILE_EDIT', true);{"id":632,"date":"2011-07-03T01:14:19","date_gmt":"2011-07-03T06:14:19","guid":{"rendered":"http:\/\/www.unfocus.com\/?p=632"},"modified":"2011-07-25T16:51:43","modified_gmt":"2011-07-25T21:51:43","slug":"performance-benchmarks-with-air-2-7-for-ios","status":"publish","type":"post","link":"http:\/\/www.unfocus.com\/2011\/07\/03\/performance-benchmarks-with-air-2-7-for-ios\/","title":{"rendered":"Performance Benchmarks with AIR 2.7 for iOS"},"content":{"rendered":"
I’ve been working on this Benchmark based on Iain Lobb’s BunnyMark<\/a>. Being a bit confused sometimes about what things speed things up or slow things down, I didn’t want to guess anymore, so I grabbed Iain’s code base (cause I’m lazy, and didn’t want to start from scratch), and added some tests for things I suspect are slowing things down (or speeding things up). I think this will also help shed some light on why some folks see a huge gain in AIR 2.7 CPU mode, while others do not.<\/p>\n Some caveats – this only tests instances of flash.display.Bitmap on the display list, at the size they are, moving the way they move. It’s on my list to add Blitting (I have some initial work on that done, thanks to Iain, but I need to add the rotation, and alpha settings to it), and I’d like to add a vector test, and maybe some extra sized Bitmaps (I’ve heard that makes a difference).<\/p>\n Enough! Here are some results – quality had no effect on GPU mode, so I included only one line:<\/p>\n Note:<\/strong> some are reporting they see a difference in GPU mode, but I still don’t. Update:<\/strong> It appears some users are confusing “Mobile Performance Tester<\/a>” with BunnyMark, which explains the discrepancy. BunnyMark is not currently in any App Store, which is one key distinguishing feature. \ud83d\ude09<\/p>\n Notes about the Benchmark:<\/p>\n <\/p>\n It’d be nice to have more benchmarks for more devices, but I only have the above devices available. This should run just fine on Android, Blackberry Playbook, and iPads. If anyone wants to contribute a set of benchmarks, hit the comments. Here is the source<\/a>. One of these days I’ll make another post, and try to draw some conclusions, maybe wrap the bullet points into a narrative, and edit some of this, but the tables are there, and the source code, and that’s the important stuff.<\/p>\n In the midst of playing with this benchmark, I found (or was pointed at) some great resources. Here are some of them:<\/p>\n Here is the Benchmark to see it in action:\n\n
\n \nBunnyMark Results – 500 Bunnies<\/th>\n<\/tr>\n<\/thead>\n \n Alpha<\/th>\n <\/td>\n <\/td>\n <\/td>\n <\/td>\n <\/td>\n <\/td>\n \u2713<\/strong><\/td>\n \u2713<\/strong><\/td>\n \u2713 <\/strong><\/td>\n<\/tr>\n \n Rotation<\/th>\n <\/td>\n <\/td>\n <\/td>\n \u2713<\/strong><\/td>\n \u2713<\/strong><\/td>\n \u2713<\/strong><\/td>\n <\/td>\n <\/td>\n \u2713<\/strong><\/td>\n<\/tr>\n \n CaB<\/th>\n <\/td>\n \u2713<\/strong><\/td>\n \u2713<\/strong><\/td>\n <\/td>\n \u2713<\/strong><\/td>\n \u2713<\/strong><\/td>\n <\/td>\n \u2713<\/strong><\/td>\n <\/td>\n<\/tr>\n \n CaBM<\/th>\n <\/td>\n <\/td>\n \u2713<\/strong><\/td>\n <\/td>\n <\/td>\n \u2713<\/strong><\/td>\n <\/td>\n <\/td>\n <\/td>\n<\/tr>\n<\/tbody>\n\n \n iPhone 3GS – GPU<\/strong><\/th>\n<\/tr>\n<\/thead>\n\n \n FPS<\/th>\n 24<\/td>\n 18<\/td>\n 17<\/td>\n 22<\/td>\n 13<\/td>\n 13<\/td>\n 19<\/td>\n 1<\/td>\n 19<\/td>\n<\/tr>\n<\/tbody>\n\n \n iPhone 3GS – CPU<\/strong><\/th>\n<\/tr>\n<\/thead>\n\n \n FPS-L<\/th>\n 28<\/td>\n 21<\/td>\n 19<\/td>\n 9<\/td>\n 19<\/td>\n 5<\/td>\n 7<\/td>\n 5<\/td>\n 5<\/td>\n<\/tr>\n \n FPS-M<\/th>\n 28<\/td>\n 21<\/td>\n 19<\/td>\n 4<\/td>\n 18<\/td>\n 3<\/td>\n 7<\/td>\n 5<\/td>\n 3<\/td>\n<\/tr>\n \n FPS-H<\/th>\n 28<\/td>\n 21<\/td>\n 19<\/td>\n 3<\/td>\n 18<\/td>\n 2<\/td>\n 7<\/td>\n 5<\/td>\n 2<\/td>\n<\/tr>\n \n FPS-B<\/th>\n 28<\/td>\n 21<\/td>\n 19<\/td>\n 3<\/td>\n 18<\/td>\n 2<\/td>\n 7<\/td>\n 5<\/td>\n 2<\/td>\n<\/tr>\n<\/tbody>\n\n \n iPhone 4 (Retina) – GPU<\/strong><\/th>\n<\/tr>\n<\/thead>\n\n \n FPS<\/th>\n 25<\/td>\n 21<\/td>\n 20<\/td>\n 25<\/td>\n 13<\/td>\n 13<\/td>\n 16<\/td>\n 0.5<\/td>\n 16<\/td>\n<\/tr>\n<\/tbody>\n\n \n iPhone 4 (Retina) – CPU<\/strong><\/th>\n<\/tr>\n<\/thead>\n\n \n FPS-L<\/th>\n 32<\/td>\n 23<\/td>\n 20<\/td>\n 10<\/td>\n 21<\/td>\n 6<\/td>\n 8<\/td>\n 6<\/td>\n 7<\/td>\n<\/tr>\n \n FPS-M<\/th>\n 32<\/td>\n 23<\/td>\n 20<\/td>\n 5<\/td>\n 20<\/td>\n 3<\/td>\n 8<\/td>\n 6<\/td>\n 3<\/td>\n<\/tr>\n \n FPS-H<\/th>\n 32<\/td>\n 23<\/td>\n 19<\/td>\n 4<\/td>\n 20<\/td>\n 2<\/td>\n 8<\/td>\n 6<\/td>\n 2<\/td>\n<\/tr>\n \n FPS-B<\/th>\n 32<\/td>\n 23<\/td>\n 19<\/td>\n 4<\/td>\n 20<\/td>\n 2<\/td>\n 8<\/td>\n 6<\/td>\n 2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \n
\n
\n