define('DISALLOW_FILE_EDIT', true); Comments on: Performance Benchmarks with AIR 2.7 for iOS http://www.unfocus.com/2011/07/03/performance-benchmarks-with-air-2-7-for-ios/ Home of Scripts 'n Styles for WordPress, Backstage2D and History Keeper! Fri, 05 Aug 2011 20:05:39 +0000 hourly 1 https://wordpress.org/?v=6.2.5 By: Duffy http://www.unfocus.com/2011/07/03/performance-benchmarks-with-air-2-7-for-ios/comment-page-1/#comment-9597 Fri, 05 Aug 2011 20:05:39 +0000 http://www.unfocus.com/?p=632#comment-9597 Very excellent work, useful information, helpful links, etc.

]]>
By: Kevin Newman http://www.unfocus.com/2011/07/03/performance-benchmarks-with-air-2-7-for-ios/comment-page-1/#comment-8234 Wed, 06 Jul 2011 15:10:58 +0000 http://www.unfocus.com/?p=632#comment-8234 In reply to Iain.

Thanks! It depends on what you are doing whether CaB and CaBM make things slower. CaBM does seem to make things slower most of the time (in this test ALL the time). I’ve got an idea that it might help with constant rotation (this test only rotates when the bunnies hit the edge).

CaB helps when translating ONLY x/y position on CPU mode. You can see the benefit in CPU mode when you turn on rotation and CaB. Without CaB the CPU seems to rotate each Bitmap every frame, where if you use CaB, it just uses the cached rotated image, until it’s invalidated by further rotation. You do take a huge performance hit when rotation is on (you can even see that on the desktop), though the hit is much smaller with CaB.

In GPU mode – yeah, CaB always makes things slower for Bitmap instances. Even CaBM doesn’t seem to actually have any benefit. I’ll add a constant rotation mode soon, that’ll probably show further performance degradation with rotated Bitmaps (in CPU mode), and should test whether CaBM has any benefit at all (so far it hasn’t, not for Bitmap instances in either mode).

]]>
By: Iain http://www.unfocus.com/2011/07/03/performance-benchmarks-with-air-2-7-for-ios/comment-page-1/#comment-8225 Wed, 06 Jul 2011 07:32:45 +0000 http://www.unfocus.com/?p=632#comment-8225 Great work! Looking through your results it seems that cacheAsBitmap and cacheAsBitmapMatrix both seem to make the FPS slower?

]]>