Log In | Sign Up   View a printable version of the current page.
  Dashboard > flexive > ... > Checking out and working with the sources > Profiling

Added by Markus Plesser, last edited by Markus Plesser on Dec 07, 2007
Labels: 
(None)

Netbeans Profiler

To enable remote profiling for the TestNG unit tests, install the Netbeans Profiler, set the profiler path in your build.properties and pass -Dprofile.netbeans.enabled=true on the ant command line.

For example, to run the EJB tests with profiling enabled use

ant tests.ejb -Dprofile.netbeans.enabled=true

and remotely attach the Netbeans Profiler. If you want to profile the application inside your application server, you need to pass the Netbeans agent path to the application server. The Netbeans profiler wizard displays the correct command line argument (depending on your java version).

Site running on a free Atlassian Confluence Open Source Project License granted to [fleXive] . Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators