hey, you guys,
I am reading some specifications about Optimizeit,but i met a stone.
There is a tool named Profiler in Optimizeit, and it contains Memory Profiler, CPU Profiler etc. I don't know what's the exactly meaning of Profiler, and i hadn't find the explaination in Optimizeit's user menual.
Who can give me an answer?
thanks in advance.
-
[Question]How to understand Profiler? (3 messages)
- Posted by: Tonny Xu
- Posted on: February 16 2004 01:34 EST
Threaded Messages (3)
- [Question]How to understand Profiler? by Anand Natarajan on February 16 2004 03:53 EST
- [Question]How to understand Profiler? by Tonny Xu on February 16 2004 13:19 EST
- [Question]How to understand Profiler? by Andreas Berg on March 05 2004 11:34 EST
-
[Question]How to understand Profiler?[ Go to top ]
- Posted by: Anand Natarajan
- Posted on: February 16 2004 03:53 EST
- in response to Tonny Xu
Profiler is basically an Agent which Keep perceving an environment(may be the JVM) and analyse the each class's different activites like Memory Allocation, Number of method call, Object life etc. So with this details the Developer can come to conclusion abt how an Class performing.
Websphere Studio for Application Developer provides Profile which helps the Developer to identify the Memory Leak, Non performing methods etc.
Please write if you want more details -
[Question]How to understand Profiler?[ Go to top ]
- Posted by: Tonny Xu
- Posted on: February 16 2004 13:19 EST
- in response to Anand Natarajan
Profiler is basically an Agent which Keep perceving an environment(may be the JVM) and analyse the each class's different activites like Memory Allocation, Number of method call, Object life etc. So with this details the Developer can come to conclusion abt how an Class performing.
> Websphere Studio for Application Developer provides Profile which helps the Developer to identify the Memory Leak, Non performing methods etc.
>
> Please write if you want more details
Thanks a lot, hmm..I think I'v got what u mean.
what's the detail u mean? -
[Question]How to understand Profiler?[ Go to top ]
- Posted by: Andreas Berg
- Posted on: March 05 2004 11:34 EST
- in response to Tonny Xu
Well, basically as soon as you want to perform structured (not trial and error) memory and performance improvements you'll need a profiler.
If you for example have a method that takes 5 seconds to perform. With tools like OptimizeIT (or JProbe, JProfiler, ...) you can track down how much time is spent in which method. This is even tracked down to methods of the standard library for example and you might recognize, that e.g. database communication takes 4.5 of the 5 seconds. So you will spent your time at optimizing the database, and not optimizing the 0.5 seconds the rest of the code needs.
A memory profiler helps you to detect memory leaks, as you can see exactly, what object references you may have that prevent the garbage collector from deleting the object.
As all of the vendors offer trial versions you might want to give it a try?
Kind regards,
Andreas
http://www.triona.de/