Snapshot/memory dump functionality in TPTP?? [message #73335] |
Mon, 05 June 2006 18:40 |
Eclipse User |
|
|
|
Originally posted by: twamley.yahoo.com
Hi,
We've been investigating the use of TPTP recently for memory profiling of
our Java apps. We would like snapshots/dumps to be written at the
beginning/end of particular Junit test cases. Is this functionality to do
this and then compare the results available via TPTP?
Pete
|
|
|
Re: Snapshot/memory dump functionality in TPTP?? [message #73353 is a reply to message #73335] |
Mon, 05 June 2006 20:49 |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00726E2B85257184_=
Content-Type: text/plain; charset="US-ASCII"
Yes, you can do this in TPTP. In your launch configuration, under the
monitor tab -> select Basic Memory Analysis under Java Profiling (See
http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
on how you can do this). Start profiling -> before running your JUnits,
use the pop-up menu of the agent in the profiling monitor to detach from
the agent. This will be your snapshot before running your JUnits. Now
reattach to the agent by using the agent's pop-up menu again. Run your
JUnits to analyze the memory usage in the second session. This will be
your memory snapshot after running the JUnits.
Note that you might want to see the Demo: Profiling an application video
listed under the User Guides and Introductory Articles section of our
documentation page (http://www.eclipse.org/tptp/home/documents/index.html)
to get familiarized with the profiler. This video is kind of old, but I
think it would still be helpful.
Navid Mehregani
--=_alternative 00726E2B85257184_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Yes, you can do this in TPTP. In
your launch configuration, under the monitor tab -> select Basic Memory
Analysis under Java Profiling (See http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
on how you can do this). Start profiling -> before running your
JUnits, use the pop-up menu of the agent in the profiling monitor to detach
from the agent. This will be your snapshot before running your JUnits.
Now reattach to the agent by using the agent's pop-up menu again.
Run your JUnits to analyze the memory usage in the second session.
This will be your memory snapshot after running the JUnits.</font>
<br>
<br><font size=2 face="sans-serif">Note that you might want to see the
</font><font size=3>Demo: Profiling an application </font><font size=2 face="sans-serif"> video
listed under the </font><font size=3>User Guides and Introductory Articles
section of our documentation page (http://www.eclipse.org/tptp/home/documents/index.html)
to get familiarized with the profiler. This video is kind of old,
but I think it would still be helpful.</font>
<br>
<br><font size=3>Navid Mehregani</font>
--=_alternative 00726E2B85257184_=--
|
|
|
Powered by
FUDForum. Page generated in 0.01604 seconds