Profiling Eclipse RCP applications with Eclipse TPTP

I believe approx. one or two years ago I tried to profile an Eclipse RCP application with the Eclipse TPTP project. I believe at this point in time profiling an RCP application with TPTP was not possible.

I learned from Eugene Chan that the TPTP release which is part of Eclipse Galileo allows to profile Eclipse RCP applications.

I suggest you give it a try, it is as easy as profiling a standard ๐Ÿ˜‰ Java application.

You find an updated description here: Eclipse TPTP Tutorial.

Thanks to Eugene Chan, Paul Slauenwhite and Kathy Chan from the TPTP team for feedback on the article.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Eclipse and tagged , , , . Bookmark the permalink.

6 Responses to Profiling Eclipse RCP applications with Eclipse TPTP

  1. Hi,

    Don’t you have any isssues with performance running TPTP? (yes TPTP is here to track down this ^^)
    When I tried to use TPTP with my RCP appliction, only launching my RCP app tooks 30min… Is there some configuration that I may be miss? or is it “normal”?

  2. Sergey Vyunnikov says:

    Each time when I tried TPTP I chose another tool for profiling ๐Ÿ™‚ But from time to time I try it again and have the same results ๐Ÿ™‚ Now I use YourKit profiler.

  3. Lars Vogel says:

    @Aurelien Profiling my RCP app also took longer. But you can use the filter to profile only the classes you are interested in.

  4. Ok, I never used the filter as I never explore really TPTP as it was so slow. Thanks for the advice ๐Ÿ™‚

  5. Lars Vogel says:

    @Aurelien: I also learned this feature from Eugene. Very cool and speeds up quite a bit the profiling process.

  6. Ben Vitale says:

    I have also had trouble with the scalability of TPTP when profiling an RCP app. I also ultimately chose to use YourKit, which does not appear to suffer from the same scalability problems.

    I did change my filter in TPTP to only do execution time analysis on com.mycompany.*, but apparently that is still too much data, because when I start to profile, and the Profile perspective shows it has recorded about 1gig of data, it comes to a grinding halt and I have to kill Eclipse and the app that was launched.

    When I use YourKit, I launch it standalone (not within Eclipse), and simultaneously launch my app with the -agent parameter, then connect the two together.

Comments are closed.