开发者

Determine page load times in ASP.Net MVC

I know there are a lot of tools out there on the client that let you know how long a page takes to load but what could I do on the server to see how long it takes开发者_Go百科 an ASP.net MVC page to render? I don't need to know how long it took all of the images to load and the javascript to start running, I'd just like to know how long all of the server-side logic took to run and potentially log that info to a db...


You can add code to global.asax for OnBeginRequest and OnEndRequest, or create a custom HttpModeule or HttpHandler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜