简体   繁体   中英

Log Request time in IIS

I am running on a performance issue with ASP.Net 2.0 Application.

A page takes atmost 20+ secs to load in a browser.

I would like to know where the problem is occurring, ie in browser(rendering) or in server(processing).

Is there a way to log the time taken for each request in IIS 7.5?

Do we need any code in global.asax or filter that do this stuff? I read about integrating MiniProfiler from http://miniprofiler.com/

Not sure will this work for ASP.Net 2.0 web application.

Any suggestion or help?

There are several way to profile your code. I suggest you the following ways:

  1. CLR Profiler (Application by microsoft to see the time spent by each function, allocution memory etc ...) for asp and .Net applications

    How use clr profiler

    Download Clr profiler from microsoft

  2. Internet Explorer debug mode

    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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM