Question

I've developed a little screenshot application but I've heard that I should profile my code to see where it's using a lot of resources and stuff.

What is a profiler? what does it do? Where can i get it for free? and How do I use it?

Was it helpful?

Solution

What language are you developing in? For C#, check this question.

Any decent C# profilers out there?

Here's one for C++

Decent profiler for Windows?

In fact, check the profiler tag to see all the questions tagged in connection with profilers.

https://stackoverflow.com/questions/tagged/profiler

OTHER TIPS

A profiler is a software tool which intercepts and measures every executed code path in a certain run of an application. They store this information and later report graphically (or tabularly) where does your code spend most of the running time so you can optimize where it really matters.

About where to get one, it depends on your platform/language combination.

See:

what-techniques-can-you-use-to-profile-your-code

You didn't say what language you use. For C/C++ (and probably others) a free ones are:

gcov
gprof
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top