Using the Profiler

The Profiler web application runs on any operating system and application server that supports Flex. However, to generate statistics for your application, you must use a Windows client to request your application.

To use the Profiler:

  1. Install the profiler.war application on your application server.
  2. Configure the ActionScript Profiler in the client's mm.cfg file.
  3. (Optional) Add profile() method calls to profile ActionScript blocks in MXML or limit the profiling in FLA files (for components). If you want to profile the entire application, do not add profile() methods.
  4. Request your application and generate the SWD file. In most cases, you can request the application in a browser and append ?asprofile=true to your request string. For example:
    http://localhost:8101/flex/myApplication.mxml?asprofile=true
    
  5. Request the ActionScript Profiler application to examine the results; for example:
    http://localhost:8101/profiler
    

The following sections describe these steps in detail.


Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000831.htm