The WPF Performance Suite includes the following tools for profiling WPF applications at runtime:
Perforator: for analyzing rendering behavior.
Visual Profiler: for profiling the use of WPF services, such as layout and event handling, by elements in the visual tree.
Working Set Analyzer: for analyzing the working set characteristics of your application.
Event Trace: for analyzing events and generating event log files.
ETW Trace Viewer: Record, display, and browse Event Tracing for Windows (ETW) log files in a WPF user-interface format.
The WPF Performance Suite can either be found online or in your Windows SDK Directory at [WinSDK]\bin (mine was at c:\Program Files\Microsoft SDKs\Windows\v6.1\Bin).

This weekend, 10 minutes with the WPF Performance Suite boosted my application’s FPS (frames per second) dramatically. I had made an incorrect assumption about why my performance was degrading (I thought it was prolific use of texture memory, but it turned out that a textbox related to debug spew that was running wild). The Visual Profiler revealed this to me immediately.
So, don’t forget the WPF Performance Suite. It makes a very useful addition to your dev/test arsenal in addition to more traditional static/dynamic analysis tools like those found in Visual Studio Team Suite.
Written Apr 21st, 2008 |