fba_pereira
fba_pereira

Reputation: 316

Timing client side and server side time of a request in ASPX?

There is an request at my web application that takes a longer time, but I don't know if it is a server side problem or client side problem. Is there an way to timing client side process and server side process of a request in ASPX?

Upvotes: 1

Views: 154

Answers (2)

BJ Safdie
BJ Safdie

Reputation: 3419

I would use Glimpse. It is open source and quite good. You can get a view of asp.net app performance at different levels.

glimpse

Upvotes: 3

matthijsb
matthijsb

Reputation: 909

You can use the stopwatch in your code behind: https://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx

And then at the start:

Stopwatch stopwatch = new Stopwatch();

and the end:

stopwatch.Stop();

and write it to a log

Upvotes: 1

Related Questions