Wiki source code of Web Applications-Development-Profiling WO Apps
Version 13.1 by Kieran Kelleher on 2008/11/12 14:20
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
10.1 | 1 | A profiler is a development tool that lets you examine memory useage and other bottlenecks in your app. |
![]() |
6.1 | 2 | |
![]() |
12.1 | 3 | === Kieran Kelleher === |
4 | |||
5 | Free and simple. I like the built-in sun monitoring tool. Java 1.5+ only. | ||
6 | |||
7 | Simply add appropriate argument to your launch configuration: | ||
8 | |||
9 | After that, open your unix terminal and type jconsole which launches the monitoring console and detects running java apps. Select your app and watch it at work. I like the Memory and Threads tabs. | ||
10 | |||
![]() |
10.1 | 11 | === Ulrich Köster === |
![]() |
6.1 | 12 | |
13 | I've tried some of them. | ||
14 | |||
15 | For the big problems jprofiler is great. The docs are useful, the interface is good and the performance is okay. | ||
16 | I prefer jMechanic. It's small, free and works together with WOLips. Just some clicks to set it up. | ||
17 | |||
18 | I don't remember much about the others. Some of them don't run under MacOSX and it can take a lot of time to find how to use them together with WO. | ||
19 | |||
![]() |
10.1 | 20 | profiler homepage: [[http://www.ej-technologies.com/products/jprofiler/overview.html]] j |
21 | jmechanic homepage: [[http://sourceforge.net/projects/jmechanic/]] | ||
22 | to see jmechanic in action click on the profiler link: [[http://objectstyle.org/woproject/gallery.html]] | ||
![]() |
6.1 | 23 | Ulrich |
24 | |||
![]() |
10.1 | 25 | === Chuck Hill === |
![]() |
6.1 | 26 | |
27 | If profiling on Windows is an option, you might also want to look at jSprint: | ||
![]() |
10.1 | 28 | [[http://www.javaperformancetuning.com/tools/jsprint/index.shtml]] |
![]() |
6.1 | 29 | |
![]() |
10.1 | 30 | It is shareware, US$50. I've used it and was satisfied with it. It seems like a good deal for the price. I've not (yet) used jMechanic, so I can't compare the two. |
![]() |
6.1 | 31 | |
![]() |
10.1 | 32 | Before you buy anything or try anything you would be well advised to spend a couple of hours at the above Java Performance Tuning site reading up on it: [[http://www.javaperformancetuning.com/index.shtml]] |
![]() |
6.1 | 33 | There is a lot of good information there. |
34 | |||
![]() |
10.1 | 35 | === David Hrivnak === |
![]() |
6.1 | 36 | |
37 | (As of March 2007 the J-Sprint link above does not seem to work - the software may not be available anymore) | ||
38 | None of the tools on this page appear to work with WebObjects 4.5.1 on Windows. | ||
39 | |||
![]() |
10.1 | 40 | === Mike Schrag === |
![]() |
6.1 | 41 | |
42 | I use [[JProfiler>>http://www.ej-technologies.com/products/jprofiler/overview.html]] from [[ej-technologies>>http://www.ej-technologies.com]]. It works as well as any of the other big named profilers, and it has explicit support for WebObjects. It is, however, not free like some of the other suggestions. | ||
43 | |||
![]() |
10.1 | 44 | === Pierce T. Wetter III === |
![]() |
6.1 | 45 | |
46 | The CHUD tools (i.e. Shark) work on Java. |