content provided under the terms and conditions of the eclipse public license version 1.0 06/12/2006...

14
06/12/2006 1 Eclipse Foundation - www.eclipse.org Content provided under the terms and conditions of the Eclipse Public License Version 1.0 Valentina Popescu IBM Rational Software TPTP Committer [email protected] Eclipse TPTP Profiling Web Applications with TPTP

Upload: sage-garney

Post on 16-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 1Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Valentina Popescu

IBM Rational Software

TPTP Committer

[email protected]

Eclipse TPTP Profiling Web Applications with TPTP

Page 2: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 2Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Contents

■ Overview of TPTP■ Overview of the Profiling tools in TPTP■ What’s new for the Profiling tools in TPTP 4.2■ Demo

Page 3: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 3Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Eclipse TPTP Overview

■ Eclipse top level project

■ Mission is to build a generic, extensible, standards-based tool platform for test and performance tracing tools

■ Project Structure– Comprised of four projects

• Platform, Test, Trace, Monitoring– Developed by a number of strategic contributors

• Intel, IBM, Scapa Technologies, Compuware, Computer Associates, OC Systems, SAP, FOKUS

■ For more information visit http://www.eclipse.org/tptp/

Page 4: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 4Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

TPTP Profiling tool Overview

■ Addresses the tracing and profiling phases of the application lifecycle

■ The Profiling project includes:– Frameworks for building, tracing and profiling tools

• framework has the capability of collecting and analyzing application performance information

– JavaTM Profiling tools based on JVMPI– Generic toolkit for probe creation and insertion– User interface actions to interact with your application

• Start, stop, attach, detach, run garbage collection, collect object references, filter and sort data

– Views used to analyze the profiled application• Views can be extended and customized using extension points

Page 5: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 5Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Profiling a WTP Web application

Page 6: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 6Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Attach configuration wizard – Part 1

■ Select the agents used to collect profiling information

Page 7: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 7Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Attach configuration wizard – Part 2

■ Select profiling options

Page 8: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 8Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

Attach configuration wizard – Part 3

■ Select profiling filters– Include classes and

packages to be profiled– Exclude everything else

Page 9: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 9Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

TPTP Profiling Views – Execution Statistics

Page 10: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 10Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

TPTP Profiling Views – Method Invocation Details

Page 11: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 11Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

TPTP Profiling Views – Memory statistics

Page 12: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 12Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

What’s New in TPTP 4.2

■ Dynamic ProbeKit – Allows dynamic instrumentation

■ Technology preview :– Line level coverage– JVMTI support– Build-To-Manage toolkits

Page 13: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 13Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

What’s New in TPTP 4.2 - continued

■ Build-To-Manage toolkits as a Technology Preview

Benefits for Developers:■ Less time spent on instrumentation■ Better diagnostic data from production■ Don’t have to become an expert on management standards

Benefits for Operators:■ Faster problem isolation■ Better transaction tracing■ More reliable application deployment

Page 14: Content provided under the terms and conditions of the Eclipse Public License Version 1.0 06/12/2006 1 Eclipse Foundation -  Valentina Popescu

06/12/2006 14Eclipse Foundation - www.eclipse.orgContent provided under the terms and conditions of the Eclipse Public License Version 1.0

References

■ TPTP download page http://www.eclipse.org/tptp/home/downloads/downloads.php

■ TPTP Technology Preview section; available from every build’s download page http://www.eclipse.org/tptp/home/downloads/downloads.php?link=link4&ver=4.2.0

■ TPTP home page http://www.eclipse.org/tptp/

■ TPTP tutorials and demo’s http://www.eclipse.org/tptp/home/downloads/quicktour/v41/quick_tour.html

■ TPTP EclipseCon 2006 presentations http://www.eclipse.org/tptp/home/documents/conferences/eclipseCon2006/index.html

■ TPTP Eclipse corner article

http://www.eclipse.org/articles/Article-TPTP-Profiling-Tool/tptpProfilingArticle.html