監測ASP.NET應用程式效能最簡單的方法

來源:互聯網
上載者:User

監測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

如果你有更簡單的方法,期待你的分享。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.