You don't need to fully understand the ActionScript Profiler architecture to use it. But some knowledge of its inner workings is helpful. The ActionScript Profiler consists of two parts: a version of Flash Player that can output performance data and an application that analyzes performance data and generates reports. Macromedia Flex ships with a version of Flash Player with enhanced debugging and profiling capabilities. This Player supports the Macromedia Flash 7 SWF file format. When the Player runs a SWF application (you must compile it in debug mode, that is, a SWD must be present), it measures the time required for functions to execute in microsecond intervals (1 millisecond = 1000 microseconds) and outputs timing data in binary format to a file. The binary data in the file represents the execution trace of the SWF application during the profiling session. The second part of the ActionScript Profiler is a report generator. This report generator in Macromedia Flex is a J2EE web application. Flex users use their browsers to view and navigate the HTML/JSP-based reports and to identify performance bottlenecks.