tags:

views:

64

answers:

1

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 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...

A: 

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

BioBuckyBall