登录IIS申请时间 [英] Log Request time in IIS
问题描述
我与ASP.Net 2.0应用程序性能问题上运行。
I am running on a performance issue with ASP.Net 2.0 Application.
一个页面需要atmost 20+秒在浏览器中加载。
A page takes atmost 20+ secs to load in a browser.
我想知道问题出在哪里发生,即在浏览器(渲染)或服务器(处理)。
I would like to know where the problem is occurring, i.e in browser(rendering) or in server(processing).
有没有登录IIS为每个请求所花费的时间的方式7.5?
我们是否需要在Global.asax中或过滤任何code,它做这个东西?我读到有关从 http://miniprofiler.com/
Do we need any code in global.asax or filter that do this stuff? I read about integrating MiniProfiler from http://miniprofiler.com/
不知道将这个工作ASP.Net 2.0 Web应用程序。
Not sure will this work for ASP.Net 2.0 web application.
任何建议或帮助?
推荐答案
有几种方法来分析您的code。
我建议你通过以下方式:
There are several way to profile your code. I suggest you the following ways:
-
CLR分析器作为ASP和.NET应用程序(由Microsoft应用程序,看看每个函数所花的时间,训示内存等)
CLR Profiler (Application by microsoft to see the time spent by each function, allocution memory etc ...) for asp and .Net applications
<一个href=\"http://download.microsoft.com/download/4/4/2/442d67c7-a1c1-4884-9715-803a7b485b82/clr%20profiler.exe\"相对=nofollow>从Microsoft下载 CLR分析器
Internet Explorer的调试模式
用简单的调试窗口。由pressingF12以InternetExplorer,然后在昂格网络,点击开始捕捉。你可以看到调用函数/脚本的时间为每个调用。有例外。
Simply with the debug window. By pressing "F12" for "Internet Explorer" and then in the onge "Network", click on "start capture". You can see the call to the function / script with time for each call. With exceptions.
这篇关于登录IIS申请时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!