Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Snapshot/memory dump functionality in TPTP??
Snapshot/memory dump functionality in TPTP?? [message #73335] Mon, 05 June 2006 18:40 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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. &nbsp;In
your launch configuration, under the monitor tab -&gt; 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). &nbsp;Start profiling -&gt; before running your
JUnits, use the pop-up menu of the agent in the profiling monitor to detach
from the agent. &nbsp;This will be your snapshot before running your JUnits.
&nbsp;Now reattach to the agent by using the agent's pop-up menu again.
&nbsp;Run your JUnits to analyze the memory usage in the second session.
&nbsp;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">&nbsp;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. &nbsp;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_=--
Previous Topic:question by Software Test and Performance mag columnist
Next Topic:Documentation about TPTP extensions points
Goto Forum:
  


Current Time: Thu Apr 18 12:20:15 GMT 2024

Powered by FUDForum. Page generated in 0.01604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top