Free tutorials for Java, Eclipse and Web programming



Eclipse Test and Performance Tools Platform (TPTP) - Tutorial

Lars Vogel

Version 0.6

17.11.2009

Revision History
Revision 0.1 - 0.219.10.2007Lars Vogel
Described simple test for web applications
Revision 0.305.01.2009Lars Vogel
Described profiling of standard Java applications
Revision 0.415.11.2009Lars Vogel
Started update to Eclipse 3.5
Revision 0.516.11.2009Lars Vogel
Added filter for packages
Revision 0.617.11.2009Lars Vogel
Removed web recording due to issues

Eclipse TPTP

This article describes how to use the Eclipse Test and Performance Tools Platform (TPTP) for profiling your Java or your Eclipse RCP application.

This article assume that you have already basic Eclipse knowledge.


Table of Contents

1. Overview
2. Installation
3. Profiling Java applications
4. Profiling Eclipse RCP applications
5. Thank you
6. Questions and Discussion
7. Links and Literature
7.1. Eclipse TPTP Resources
7.2. Other Resources

1. Overview

Eclipse Test and Performance Tools Platform (TPTP) is a Eclipse project that contains tools for performance-testing, application profiling and testing an application. http://www.eclipse.org/tptp/

TPTP allows to profile your code. This includes the profiling of Java applications, JUnit test and web applications. TPTP allow to test and trace the applicationand test several aspects of your application's behavior, including memory usage (how many objects are being created, and the the size of the objects), execution traces (how much time did the application spend in certain code), and test coverage (how much of the code was executed during the JUnit tests).