Due to hectic deadlines and work load, there are times when we forget to go back, revisit our code, and refactor it. So how do you make sure the code is doing what it supposed to without taking too much time or consuming too much resources?
Recently, I got a chance to work on a Web application, that was very slow in performance specially when multiple users were accessing the application simultaneously. It was a big challange for me to find out what part of code is taking too much time since I never worked on that project.
First method for me was to revisit the code line by line, understand and evaluate it, debug line-by-line, and refacor it. As you may guess, this process would have taken me days and weeks.
The simplest method I found was ANTS Profiler. I downloaded a FREE trial but fully-functional version of ANTS Profiler, installed it and profiled my application using it. It took me total 30 minutes to do all this. After 30 mins, I got the results exactly I was looking for. ANTS Profiler told me what lines of code were taking how much time and sort listed the slowest methods and lines of code for me.
I would highly recommend you to download a trial version of ANTS Profiler and give it a try. Guess what? Tool costs less than $300. If it saves you couple of hrs work, it's worth giving it a try. Download it here.
How to find a topic of interest on our sites
Your "Thank You" means a lot