Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Performance tips for AIR application development

A new article has been posted to the KB on Performance tips for AIR application development.Check it out if you're interested here: 

 

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Performance-tips-for-AIR-application-de... 

 

Cheers,

Dustin

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
Developer
Developer
mdd
Posts: 222
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: Performance tips for AIR application development

Good info.

 

Is there a way to see the stats on the simulator?

 

Regards,

Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Performance tips for AIR application development

Yes - Same way you can on a dev alpha. From the main menu swipe towards the middle from the top left corner.

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
Developer
apman
Posts: 194
Registered: ‎11-12-2010
My Device: Not Specified

Re: Performance tips for AIR application development

Is there some documentation on how to read and interpret all those numbers in the stats overlay? e.g. what are the 2 or 3 different values given for some of the parameters? and what would be some thresholds to watch for to figure out if your app is a reasonably good 'citizen' ?

 


My app : Get set - Get up!   Get ready for the snooze revolution.

Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Performance tips for AIR application development

Not that I'm aware of. I sent out an email to a few people here at RIM to see if anyone knows more than I do.

 

In general FPS is going to be your best indicator and I would shoot to keep it above 30FPS.

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Performance tips for AIR application development

Also we will have Scout support when the runtime is updated - http://gaming.adobe.com/technologies/scout/ 

 

Personally I can't wait to start profiling my BlackBerry 10 apps with this.

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
New Developer
scienceHal
Posts: 22
Registered: ‎03-07-2011
My Device: Torch
My Carrier: Rogers

Re: Performance tips for AIR application development

Is Adobe Scout support for BB10 out now? Is there any way to profile my BB10 app's performance with it? It's an AIR app, of course. I've just started using Scout & think it's amazing. Thanks!

Damian.

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Performance tips for AIR application development

Adobe Scout is a part of a newer version of AIR. Once we get AIR 3.4/3.5, then we should get support for Adobe Scout. You can use the current profiling tools in Flash Builder.
Please use plain text.
New Developer
scienceHal
Posts: 22
Registered: ‎03-07-2011
My Device: Torch
My Carrier: Rogers

Re: Performance tips for AIR application development

Thanks!

Please use plain text.
Developer
shawnblais
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Performance tips for AIR application development

[ Edited ]

dmalik wrote:

Also we will have Scout support when the runtime is updated 


ETA??? 

 

We really need Stage3D support and are hoping  you guys will have it by the time our first game ships in April/May.

 

GPU Render mode needs fixing too... In PicShop on Android & iOS, I use GPU Render mode to do an easy 60fps, it's beautifully smooth and buttery. But on Playbook/QNX it's totally unstable and crashes constantly, forcing me to use CPU render mode, and get middling frame-rates.

 

I'm secretly hoping that some much needed improvements for GPU Render Mode are coming as well. You seem pretty down on it in your article, but in fact it's a true beast, and the tricks to pull performance out of it are super easy:

http://esdot.ca/site/2011/fast-rendering-in-air-3-0-ios-android
http://esdot.ca/site/2012/fast-rendering-in-air-cached-spritesheets

 

It does support Filters, sorta, you just need to do some tricks:

1. Apply filters to off-stage DisplayObject, and bitmapData.draw()

2. use bitmapData.applyFiter() on an already cached display object

Please use plain text.