Eclipse TPTP Profiling Web Applications with TPTP Valentina
Eclipse TPTP Profiling Web Applications with TPTP Valentina Popescu IBM Rational Software TPTP Committer popescu@ca. ibm. com 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 1
Contents ■ Overview of TPTP ■ Overview of the Profiling tools in TPTP ■ What’s new for the Profiling tools in TPTP 4. 2 ■ Demo 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 2
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/ 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 3
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 – Java. TM 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 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 4
Profiling a WTP Web application 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 5
Attach configuration wizard – Part 1 ■ Select the agents used to collect profiling information 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 6
Attach configuration wizard – Part 2 ■ Select profiling options 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 7
Attach configuration wizard – Part 3 ■ Select profiling filters – Include classes and packages to be profiled – Exclude everything else 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 8
TPTP Profiling Views – Execution Statistics 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 9
TPTP Profiling Views – Method Invocation Details 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 10
TPTP Profiling Views – Memory statistics 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 11
What’s New in TPTP 4. 2 ■ Dynamic Probe. Kit – Allows dynamic instrumentation ■ Technology preview : – Line level coverage – JVMTI support – Build-To-Manage toolkits 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 12
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 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 13
References ■ TPTP download page http: //www. eclipse. org/tptp/home/downloads. php ■ TPTP Technology Preview section; available from every build’s download page http: //www. eclipse. org/tptp/home/downloads. php? link=link 4&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/v 41/quick_tour. html ■ TPTP Eclipse. Con 2006 presentations http: //www. eclipse. org/tptp/home/documents/conferences/eclipse. Con 2006/index. html ■ TPTP Eclipse corner article http: //www. eclipse. org/articles/Article-TPTP-Profiling-Tool/tptp. Profiling. Article. html 06/12/2006 Eclipse Foundation - www. eclipse. org Content provided under the terms and conditions of the Eclipse Public License Version 1. 0 14
- Slides: 14