Monday, August 21, 2006

Eclipse Test and Performance Tools Platform

Eclipse Test and Performance Tools Platform (TPTP) provides a comprehensive suite of open source performance-testing and profiling tools, including integrated application monitoring, testing, tracing and profiling log analyzing and static-code analysis tools. The Eclipse Callisto 3.2 release includes version 4.2 of the Eclipse Test & Performance Tools Platform (TPTP). OnJava.com recently featured an introduction to using the tool. TPTP lets you test several aspects of your application's behavior, including memory usage, execution statistics, and test coverage.

Installing TPTP

Open the Remote Update window (Help -> Software Updates -> Find and Install), and select the Callisto Discovery Site. If Callisto Discovery Site is not listed, add a "New Remote Site", and add http://download.eclipse.org/callisto/releases/, to the list and select it. You will have to select the "Charting and Reporting", "Enabling features" and "Testing and Performance" options to install.

Profiling with Eclipse TPTP

Follow these steps to profile an application
  1. Create a JUnit test profile using "Run -> Profile" option from the main menu. If you have a test package, it will be automatically selected in the "Test" tab of the profile dialog box.
    Eclipse TPTP profiling -1
  2. Select the "Monitor" tab and choose the required options.
    Eclipse TPTP profiling - 2
  3. Click on profile.
Once eclipse finishes profiling, you can go to the "Profiling and Logging" perspective and analyze the results of the profiler.
References:
  1. Profiling Your Applications with Eclipse Callisto
  2. Eclipse Test and Performance Tools Platform
  3. Introduction: Eclipse Test and Performance Tools Platform (Tutorial)
  4. Eclipse Test and Performance Tools Platform, Part 1: Test, profile, and monitor applications (Tutorial)
  5. Eclipse Test and Performance Tools Platform, Part 2: Monitor applications (Tutorial)

No comments:

Post a Comment

Popular Posts