MSDN的Windows Phone 7开发论坛上有朋友提出Mango的分析工具如何使用,所以发布此分析工具使用的中文说明。
Mango新增的应用程序分析功能,在VS2010的菜单中找到[Debug],然后选择[Start Windows Phone Performance Analysis]就可以打开分析工具对应用程序进行分析,如图1-1 启动分析工具。
图1-1 启动分析工具
在Visual Studio显示的页面中选择[Launch Application]执行当前的应用程序PhoneApp1的分析,如图1-2 启动针对应用程序的分析。
图1-2 启动针对应用程序的分析
点击[Stop Profiling]结束数据收集,进入数据分析阶段,如图1-3 分析数据。
图1-3 分析数据
数据分析结束后生成详细的分析报告,可作为开发者对应用程序进行性能分析和改进的参考,如图1-4 详细的分析报告。
图1-4 详细的分析报告