Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Does hyades work with Java 1.5 and RCP?
Does hyades work with Java 1.5 and RCP? [message #75552] Thu, 29 June 2006 14:52 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Eclipse 3.1.2; WinXP; Java 1.5

I'm developing an RCP app, and would like to perform memory and/or timing profiling. This part of
the Eclispe story does not seem very impressive, so far (over on the main eclipse newsgroup, it
seems that only two profilers exist, XRay and EclipseColorer, neither of which currently are
runnable). On the other hand, hyades claims to work, but perusing this newsgroup suggests that
installing hyades is (a) complex and error-prone, and (b) a bloated monstrosity, so that (c) one
should do it in a place where when things crash and burn one's work is not damaged.

Looking at the instructions, http://www.eclipse.org/tptp/home/downloads/downloads.php, I cannot
determine if it will even work for my case -- so: does it work with Java 1.5? does it work with an
RCP app?

thanks,
Paul
Re: Does hyades work with Java 1.5 and RCP? [message #75654 is a reply to message #75552] Thu, 29 June 2006 18:10 Go to previous messageGo to next message
Guru Nagarajan is currently offline Guru NagarajanFriend
Messages: 45
Registered: July 2009
Member
Paul,
The TPTP profiler supports both the profiling of distributed apps and
local apps. The install and the set up of the distributed profiling
involves numerous steps, this compared to the XRay and Colorer are for
local profiling only. TPTP now has a workbench based profiling and the
installation is fairly simple as well.
TPTP now supports Java 1.5 profiling in a technology preview mode.
Download the New Java Profiler downloads and you can profile your Java
1.5 application. We have not tested it with an RCP app. It will be very
helpful if you can test your RCP app with the new java profiler and
suggest enhancments.

Thanks,
Guru


Paul Keyser wrote:
> Eclipse 3.1.2; WinXP; Java 1.5
>
> I'm developing an RCP app, and would like to perform memory and/or
> timing profiling. This part of the Eclispe story does not seem very
> impressive, so far (over on the main eclipse newsgroup, it seems that
> only two profilers exist, XRay and EclipseColorer, neither of which
> currently are runnable). On the other hand, hyades claims to work, but
> perusing this newsgroup suggests that installing hyades is (a) complex
> and error-prone, and (b) a bloated monstrosity, so that (c) one should
> do it in a place where when things crash and burn one's work is not
> damaged.
>
> Looking at the instructions,
> http://www.eclipse.org/tptp/home/downloads/downloads.php, I cannot
> determine if it will even work for my case -- so: does it work with Java
> 1.5? does it work with an RCP app?
>
> thanks,
> Paul
Re: Does hyades work with Java 1.5 and RCP? [message #75688 is a reply to message #75654] Thu, 29 June 2006 19:01 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
> The TPTP profiler supports both the profiling of distributed apps and
> local apps. The install and the set up of the distributed profiling
> involves numerous steps, this compared to the XRay and Colorer are for
> local profiling only. TPTP now has a workbench based profiling and the
> installation is fairly simple as well.

The webpage is quite confusing, and I cannot tell which is which there. I would not think an RCP app
is either remote or distributd, per se. (Some particular RCP app might be; mine isn't.)

> TPTP now supports Java 1.5 profiling in a technology preview mode.
> Download the New Java Profiler downloads and you can profile your Java
> 1.5 application. We have not tested it with an RCP app. It will be very
> helpful if you can test your RCP app with the new java profiler and
> suggest enhancments.

As above, the webpage is very confusing -- which link do I want? Also, what else do I have to
download first? (I have Eclipse 3.1.2, GEF 3.1.1 [correct], and EMF 2.1.1 [apparently also the
correct version for Eclipse 3.1.2) Some part of the webpage or newsgroup suggested that I might need
BIRT, which I could hardly beleieve, since a profiler should surely not depend on business-logic!
(But probably the post was wrong or I misread the webpage.)

Of course, I'll re-install everything anyway, in a new location, since several posts suggested you
have to destroy the ws in order to get hyades to run at all.

thanks,
Paul
Re: Does hyades work with Java 1.5 and RCP? [message #76044 is a reply to message #75688] Sun, 02 July 2006 11:49 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Paul,

The new Java Profiler for Java 1.5 is based on Eclipse 3.2 and TPTP 4.2.
Please refer to the user guide for installation and usage instructions.
The user guide is available here:
http://www.eclipse.org/tptp/platform/documents/tutorials/jvm ti/Java_Application_Profiling_using_TPTP-v2.0.html

Although the user guide does not contain instructions on how to profile
RCP applications, the process is similar to the one used for TPTP 4.1.
Just make sure to configure the Agent Controller port to 10006 (in the
Preferences dialog, as described in the user guide) and to select the
"Java Profiling with Instrumentation" Data Collector (in the Monitor tab
of the Launch Configuration dialog) before running your RCP application.

Any feedback you can give us regarding the new Java Profiler will be
greatly appreciated.

Regards,
Asaf
Previous Topic:Cannot open PerfmonAgent subnodes in AgentControl view
Next Topic:Don't see any agents when trying to attach remote java procees
Goto Forum:
  


Current Time: Sun Dec 21 09:55:09 GMT 2014

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

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