A new home

I’ve made the move to WordPress!

You should be automatically redirected in 5 seconds. Please visit World Wide Code on Wordpress

Hope to see you there!
Showing posts with label profiling. Show all posts
Showing posts with label profiling. Show all posts

Sunday, July 24, 2011

Windows Phone 7 Profiler


The Windows Phone Profiling Tool lets developers measure, evaluate, and target performance-related issues in their code. These tools are fully integrated into the Visual Studio IDE to provide a seamless and approachable user experience.
Profiling a phone application is straightforward. You begin by creating a new performance session. After a performance session ends, data gathered during profiling is saved in file with the extension .sap that you can view inside the IDE. These provide views on the different levels of your application structure from source code lines to processes, and program execution data from the calling and called functions of a specific function to the call tree of the entire application.

Read more at MSDN

The Windows Phone Profiler, "In Progress"


Windows Phone Profiler, with highlighted timeline


Related Links

Tuesday, April 26, 2011

Profiling Silverlight Applications


You can profile Silverlight 4 applications, however this task is not integrated within Visual Studio 2010.
Here's what you need to do: open an Visual Studio 2010 Command Prompt in administrator mode and run the following:
VSPerfClrEnv /sampleon
VSPerfCmd -start:sample -output:somefile.vsp
VSPerfCmd -globalon
VSPerfCmd -launch:"c:\Program Files (x86)\Internet Explorer\iexplore.exe" -args:""
VSPerfCmd -shutdown
VSPerfClrEnv /off
This will create a VSP (Visual Studio Profile) file in the current directory, which you can then open in Visual Studio.

Silverlight5 now supports profiling within Visual Studio 2010 SP1.

Related links