Performance / Optimisation / Conventions

TwitterFacebook
Get flash to fully experience Pearltrees

mm.cfg Secrets « jpauclair

*Update: 9 dec 2011* This article was the very beginning of what became simply the best toolset for debugging and optimizing flash content: TheMiner . Using a few of these hidden features, TheMiner let you analyse memory, performances, DisplayList, loaders and a lot more! If you have a flash application that could benifit some optimization, TheMiner is the right toolset for you! http://jpauclair.net/mm-cfg-secrets/
I finally found some spare time to organize the stuff presented at flexcamp and make it a blog post. I “argue” with the Flex profiler almost daily and we had an “intense” relationship the month right before the flexcamp. So I felt a talk about profiling and Garbage Collection (GC) was really fit.

Garbage Collection with Flex and Adobe Air

http://spreadingfunkyness.com/garbage-collection-with-flex-and-adobe-air/

Flex Performance Re-Hash: The Elastic Racetrack | www.quilix.com

I believe that the "elastic racetrack" was coined by Ted Patrick of Adobe evangelism fame... and it does a fine job as a visual aid in explaining Flex application performance. So... here is a quick review of the elastic racetrack and how to get your Flex/AIR ponies running faster. By the way - this post is a summary of many great articles, materials, presentations I've collected. If you're hungry for more after reading... Google is your friend! On Teb! http://www.quilix.com/node/61
http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/ In 2005 Ted Patrick posted a great article on the frame execution model inside the Flash Player that he dubbed the ‘ elastic racetrack ‘. It’s served as a great reference for me over the years to help understand how code execution and rendering were balanced within the processing of a frame. Since the introduction of Flash Player 9 and the new AVM2, I’ve noticed a few changes to the elastic racetrack model and thought I’d share them. This information is based on research into Flash player internals as well as observations I’ve made playing around with the event and rendering model, but the full model hasn’t been confirmed by Adobe engineers. The basic premise of the original elastic racetrack is still the same. Given a specific frame rate to operate on, the Flash player will devote the first segment of the frame to execute code, and the second segment to render display objects.

Updated ‘Elastic Racetrack’ for Flash 9 and AVM2 « Craftymind

Now that we have just launched AIR 2, I figured it would be a good time to look back at all the AIR code I've written over the last few months and pick out some of the best snippets and concepts to share with the community. This article describes ten techniques I've used to improve performance, usability, and security of AIR applications, and to make the development process faster and easier. Now that we have just launched AIR 2, I figured it would be a good time to look back at all the AIR code I've written over the last few months and pick out some of the best snippets and concepts to share with the community.

Ten tips for building better Adobe AIR applications > Tutorials > Flash Magazine

http://www.flashmagazine.com/tutorials/detail/ten_tips_for_building_better_adobe_air_applications/
Modules

Tom Sugden: How to Unload Modules Effectively

http://blogs.adobe.com/tomsugden/2010/02/how_to_unload_modules_effectively.html Getting Started The best way to understand module unloading is to create a sample project and run some tests. Here's a sample Flash Builder project that uses Flex SDK 3.5 to demonstrate the effective unloading of a module. A number of practices are applied and these are described later. The sample project contains an application that loads and unloads a module repeatedly, displaying the System.totalMemory reading. Click the image below to launch the application: