DCSIMG
Windows Phone Mango–What’s New? (“Profiler” - Part 9 of 8) - Alex Golesh's Blog About Silverlight Development

Windows Phone Mango–What’s New? (“Profiler” - Part 9 of 8)

This post is a “missing part” of series about new features in Windows Phone Mango Smile

New and very important feature of Windows Phone “Mango” Developer Tools is the profiler. The profiler enables the developers of Silverlight applications (currently only Silverlight scenarios are supported) to sense important heartbeats of the application and collect information about application behavior at runtime.

To measure the performance or the application, navigate to Debug menu option and select Start Windows Phone Performance Analysis:

clip_image001

Visual Studio provides the developer with configuration setting screen which enables him to define some profiling settings, like drawing details, depth of stack frames in each collection, data collection frequency and others:

clip_image002

Finally, when “Launch Application” button pressed, the application starts on selected target (Emulator or Device) and developer should execute the regular application flow (actions). Visual Studio collects the data in the background:

clip_image003

Profiling stopped by clicking “Stop Profiling” button; the application terminates and Visual Studio transfers the measured data into the developers’ PC for analyzing and graphical representation:

clip_image004

Once the data is ready it is presented to developer along with some warnings and recommendations based on application behavior:

clip_image006

Based on selection, and in addition to those warnings, the developer presented with detailed graphs of Draw Frame Rate, CPU and memory usage, running storyboard, images load and garbage collects. In addition, the lower part enables the developer to browse through various presentations of sampled data:

clip_image007

For example check which Visual elements were presented in each single frame and which visual types builds those elements:

clip_image008

hhich active storyboards running at specified period of time:

clip_image010

how log takes to render the application’s Visual Tree:

clip_image012

and many others.

Stay tuned for more posts to come.

Alex

Comments

# The Morning Brew - Chris Alcock » The Morning Brew #863

Pingback from  The Morning Brew - Chris Alcock  » The Morning Brew #863

Wednesday, June 01, 2011 10:32 AM by The Morning Brew - Chris Alcock » The Morning Brew #863

# Windows Phone Mango ??? What???s New? (???Profiler??? – Part 9 of 8) – www.nalli.net

Pingback from  Windows Phone Mango ??? What???s New? (???Profiler??? – Part 9 of 8) – www.nalli.net

# re: Windows Phone Mango–What’s New? (“Profiler” - Part 9 of 8)

This is way more helpful than anythnig else I've looked at.

Sunday, August 14, 2011 6:31 AM by Trixie

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: