使用VSTS Profiler进行事务分析 [英] Transaction profiling with VSTS Profiler

查看:68
本文介绍了使用VSTS Profiler进行事务分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用C#在IIS中实现性能分析.我已经下载了 VSTS_Profiler [ ^ ],并将其安装在装有Visual Studio 2008的Windows 2008服务器R2中.
但是我在Visual Studio IDE中没有看到任何其他菜单项.有人可以帮助我了解如何使用VSTS Profiler.

谢谢&问候
Sebastian

I want to implement profiling in IIS using C#. I have downloaded VSTS_Profiler[^] and installed it in my Windows 2008 server R2 with Visual studio 2008.
But I didn''t see any additional menu item in Visual Studio IDE; Can someone help me to understand how to use VSTS Profiler.

Thanks & Regards
Sebastian

推荐答案

Visual Studio 2008中有一个内置的探查器,通过它我们可以了解应用程序的性能.这可以从"VS分析"选项卡开始.以下是使用此事件探查器的简单步骤.

1.在Visual Studio中打开该项目,然后转到分析"标签->分析器->新的演奏会
2. Performance Explorer将添加到应用程序中.在该资源管理器中,单击启动性能向导".
3.将打开一个向导,默认情况下将选中该应用程序,并通过三个简单步骤来设置新的性能目标
4.单击Performance Explorer上的带有配置文件启动按钮.这将运行应用程序,就像在调试模式下运行一样.
5.遍历该场景,在该场景中,您想一一了解性能.但是一次尝试一个就可以了.
6.方案结束后,单击Stop profiler图标.这将自动生成报告.
7.报告提供了各种数据视图.我们可以使用函数视图来检查哪些函数需要花费大量时间
There is a inbuilt profiler in Visual Studio 2008, with which we can know the performance of our application. This can be started from VS Analyze tab. Here are the simple steps to use this profiler.

1. Open the project in visual studio and go to analyze tab -> profiler -> new performance session
2. Performance Explorer will be added to the application. In that explorer click Launch performance wizard.
3. A wizard will be opened with the application selected by default and three simple steps to set up new performance target
4. Click on Launch with profiling button on the Performance Explorer. This will run the application, just like we run in debug mode.
5. Go through the scenario, in which you want to know the performance one by one. But going for One at a time is suggestible.
6. Once the scenario ends, Click on Stop profiler icon. This will automatically generates a report.
7. Report provides various view of data. We can use functions view to check which functions taking so much time


这篇关于使用VSTS Profiler进行事务分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆