When you create an application with a killer user interface, you ought to consider various performance parameters of
your application as well. There are certain eligibility performances criteria your application must pass to be accepted in the Marketplace. These criteria may
check your application for
There is the Market Place Test Kit you can use to
test the likelihood of your application accepted by the marketplace.
Measuring performance of your application should always be an essential task of
your application creation life cycle.
In Windows Phone 7.1 you get a Performance Analysis Tool. This tool helps you to
do analysis on
You get the performance analysis tool by either by pressing ALT+F1 or selecting it from Debug menu option.
There are few thumb rules you need to follow to get the best results out of the performance analysis tool
Just after clicking on Start Widows Phone
Performance Analysis, you will get an empty performance log created for you in
the solution explorer.
When you choose for performance analysis, you will be prompted to choose from
Choose your option and click on Launch
Application. The application will be launched with performance analysis.
Come back to Visual Studio and click on Stop Profiling. You will get progress
messages that analyzed data is being created.
When you click on the .sap file you will get a performance graph as below,
Frame Rates provides information about the number of frame redrawn each second. This
information is only available when the display UI is getting updated. Windows Phone
7 application should have 30 to 60 second frame rate per second.
In CPU usage there are four colors and each color have its own significant
Memory usage says the amonut of phone memory used in your application. It is
measured in Megabytes The storyboard gives information about animation in the application. There are two
types of animation which are represented by two different colors.
Image loads says about image load as assets into the phone memory.
GC events say about when garbage collector collects free memory.
By having all the information discussed above you can very much do performance
analysis of your application. Have a good time writing good performance centric
If you find my blogs useful you may like to follow me on twitter
http://twitter.com/debug_mode or may like Facebook page of my blog
http://www.facebook.com/DebugMode.Net If you want to see post on a particular
please do write on FB page or tweet me about that, I would love to help you.
[twitter-follow screen_name='debug_mode' show_count='yes']
Dhananjay kumar is 6 times Microsoft MVP, 7 times C# Corner MVP. He works as consultant for Infragistics in India. He is known for mentoring teams on various technologies.
C# Corner. All contents are copyright of their authors.