VS2010 SP1: Silverlight 4 profiling from Visual Studio UI
If you install recently published VS2010 SP1 Beta, you can discover that VS Profiler team enriched Silverlight profiling user experience. Previously I published few posts about VS2010 usage for those purposes, either through VS Profiler command line tools or VS2010 UI. Both approaches led you to the final results or figuring out the bottlenecks of your Silverlight application, but they require number of manual steps to be done.
In VS2010 SP1 however Silverlight projects are fully recognized by VS Profiler, and you can conduct your performance investigations much easier.
For example, you might use the Silverlight Text Editor Sample, and open this project in VS2010 SP1:
Now, if you wish to create a performance session for this project, you can do it in a usual way through Performance Wizard:
You will see your project in the list of possible targets (it was not there before the final integration of Silverlight projects and VS Profiler), and you can select it there and proceed with the Wizard that creates and starts a performance session for you:
When you close your application – the session is over and profiling results are presented so you can analyze the data:
Enjoy!
Comments
Anonymous
December 28, 2010
Its good that we have a wizard avikas.blogspot.com/.../performance-wizard-for-silverlight-with.htmlAnonymous
January 07, 2011
I just wonder why the IE crashes and very little data is collected.Anonymous
September 23, 2011
The comment has been removed