Howto activate profiling during test execution [message #14480] |
Thu, 07 April 2005 13:51  |
Eclipse User |
|
|
|
Hi,
i would like to attach to a profiling agent after the test has been started.
The profiling agent lives in the same process like the test (HyadesJUnitRunner) is executed in.
The profiling agent is automatically instanciated during startup of the test.
It would be nice, if someone could introduce me in the conceptual backround.
Do i have to open a new connection for each additional agent?
Or do i have to initiate more than one sessions if the agents are living in the same process?
Is it possible to use one RemoteComponentSkeleton for more than one Agent?
What is the right way?
I experimented with extensions to the TestExecutionHarness and used
org.eclipse.hyades.internal.execution.local.control.Node.lis tProcess()
and process.listAgents() to look for the profiling agent, but i did not find it.
But i know, that it's running, because i was able to attach to it via "launch -> profiling -> attach java process".
Thank you in advance
Holger
|
|
|
Re: Howto activate profiling during test execution [message #14541 is a reply to message #14480] |
Fri, 08 April 2005 11:01   |
Eclipse User |
|
|
|
This is a multipart message in MIME format.
--=_alternative 0052206B85256FDD_=
Content-Type: text/plain; charset="US-ASCII"
Hi Holger,
We don't provide an automatic way to profile a test in TPTP today. As you
mentioned, of course, if you set up the JVM to be profiled, you can still
manually attach to a profiling agent.
The request to provide automatic profiling of tests is covered by the
following enhancement requests, which we hope to put into the 4.1 plan.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=78753
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029
Thanks,
--Joe
--=_alternative 0052206B85256FDD_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi Holger,</font>
<br>
<br><font size=2 face="sans-serif">We don't provide an automatic way to
profile a test in TPTP today. As you mentioned, of course, if you
set up the JVM to be profiled, you can still manually attach to a profiling
agent. </font>
<br>
<br><font size=2 face="sans-serif">The request to provide automatic profiling
of tests is covered by the following enhancement requests, which we hope
to put into the 4.1 plan.</font>
<br>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=78753</font>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">--Joe</font>
<br>
<br>
--=_alternative 0052206B85256FDD_=--
|
|
|
|
Powered by
FUDForum. Page generated in 0.18051 seconds