Profilers are some of the most important tools to optimize an application – yet many developers don’t even know such a thing exists.
There are profilers for most runtimes, that is you’ll get a different profiler for C++, .NET, Java and even Actionscript. For instance we’re using JetBrain’s dotTrace to profile FlashDevelop (a .NET application), and for Actionscript you’ll have the fantastic Adobe Scout.
Haxe NME, for desktop/mobile targets, cross-compiles your haxe code into C++ and builds a pure native application, so we’ll use a C++ profiler.
PreloadSwf is one fine gem in Flash Player’s mm.cfg, the historical and little known Flash Player configuration file.
In this post I will tell you all you have to know about this feature and how you are going to use it in your projects.
This was invented for Flash profiling: Clement Wong, from the Flex SDK team, presents PreloadSwf as a major piece of the “Flash profiling” puzzle in his about the Flex profiler post in 2008.
If you want to know most of the secrets of mm.cfg, dive into Jean-Philippe “jpauclair” Auclair post on mm.cfg hidden treasures. This is a must read if you like bytecode porn 🙂