Link to home
Start Free TrialLog in
Avatar of tmajor99
tmajor99

asked on

C# how to compute the runtime for aspx application

How can I compute the run time of a aspx form?  When the user selects a button on the form I want to compute the total amount of runtime and display results.
Avatar of kaufmed
kaufmed
Flag of United States of America image

Does it have to be programmatic? If not, you could use Fiddler to spy on the request in transit. You can start Fiddler, tell it to listen to all connections, then fire off the button click and watch the traffic in Fiddler. Once the request is complete, you can view its properties to see how long it took. For example, attached is what I got when I posted this comment:

User generated image
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tmajor99
tmajor99

ASKER

yes it has to be programmatic.