Click here to Skip to main content
15,922,696 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Heya all,
I've been looking around for a decent way to measure the time it takes to execute my code. I have seen some people on various sites will do this programmatically using the Stopwatch class to measure the time it takes to execute the code within, but I was wondering if there is a better method of measuring the time taken.

Any suggestions like plug-ins or tools?

Cheers guys.
Posted

1 solution

The higher versions of Visual studio has a profiler[^]. It is more than just finding time, the tree view helps you dig deep and find out how your methods are called and you can do a lot of anylysis with that data.

I have also used ants profiler.[^] and that also provides a lot of feautures.

You also have the clr profiler[^] (its free). It takes up a lot of memory and hard disk space, but it gives you a lot of information. It shows you how many objects are created, how much memory it used and a lot more useful information.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900