监测ASP.NET应用程序性能最简单的方法

监测ASP.NET应用程序性能有很多种方法,你心目最简单的方法是什么?

我目前找到的最简单的方法是:在Windows性能监视器(Performact Monitor)中监测ASP.NET Applications的Request Execution Time参数。

微软网站上对Request Execution Time的解释

This counter shows the time, in milliseconds, that it takes to render the last requested page and then transmit it to the user. This counter will generally be greater than the time a trace shows to render the page. This counter is a more comprehensive measurement of start-to-finish request time. If this counter shows a lower average when compared to a baseline, then both the scalability and the performance of the application have been increased.

我对Request Execution Time的理解是:ASP.NET Runtime接收到IIS转发过来的用户请求->ASP.NET Runtime将该请求的响应内容发送给IIS所消耗的时间。

在Windows性能监视器中添加Request Execution Time计数器的操作步骤:

1. 打开Windows性能监视器,点击加号按钮。

2. 找到ASP.NET Applications

3. 找到Request Execution Time

4. 选择要监测的ASP.NET站点

LM_W3SVC_2_ROOT表示ID为2的IIS站点,站点ID可以在IIS的站点列表中查看到。

5. 点击Add

6. 点击OK

如果你有更简单的方法,期待你的分享。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值