-4

I would like to know whether there are any freeware tools available that would take as an input my program and monitor its performance

for example,

how much memory does it take how much time does it take for each operation how much time does it take for it to open how much of the computer's resources it uses in general

is it possible to find something like this?

Ron Sijm
  • 8,490
  • 2
  • 31
  • 48
jonathan
  • 291
  • 1
  • 5
  • 17
  • What language is your application in? Most languages have profilers – Ron Sijm Dec 09 '11 at 21:28
  • There are lots of questions here that deal with application performance and benchmarking. You didn't mention what framework/language, which would be required to provide any focused answer. Try searching for `[profiling] [performance]` – JYelton Dec 09 '11 at 21:32
  • possible duplicate of [Analyzing Code for Efficiency?](http://stackoverflow.com/questions/890222/analyzing-code-for-efficiency) – JYelton Dec 09 '11 at 21:32
  • the application is written in java – jonathan Dec 09 '11 at 21:49
  • What is your overall purpose? If all you want to do is monitor, use one of the profilers. If you need to make the program as fast as possible, that's a different purpose. The method I and others use *[is this](http://stackoverflow.com/questions/375913/what-can-i-use-to-profile-c-code-in-linux/378024#378024)*. – Mike Dunlavey Jan 10 '12 at 17:24

3 Answers3

2

The tool you're looking for is called a profiler. There are many. You'll need to pick one that supports your platform (Java, .NET, whatever.)

Joe White
  • 94,807
  • 60
  • 220
  • 330
0

Which IDE are you using? There is some that comes with a profiler that analyze the code in terms of memory, cpu time and coverage.

timsa7
  • 133
  • 1
  • 1
  • 9
0

You're looking for what is called a profiler.

Since you commented your application is written in java, this site has a pretty good overview of free open source java profilers.

To quote the site, you could use any of these tools:

  • Cougaar Memory Profiler
  • JTreeProfiler
  • NetBeans Profiler
  • JRat
  • Extensible Java Profiler
  • JMP
  • TomcatProbe
  • Allmon
  • Perf4j
  • JBoss Profiler
  • MessAdmin
  • JMeasurement
  • JMemProf
  • DrMem
  • JAMon API
  • InfraRED
  • Java Interactive Profiler (JIP)
  • Profiler4j
  • DJProf
  • Stopwatch
  • TIJmp
  • Appspy
  • OKTECH Profiler
  • EurekaJ
Ron Sijm
  • 8,490
  • 2
  • 31
  • 48