Profiling Procedure- YourKit 12 (committers are eligible for a free Open Source license)
- To profile fcrepo4 with mvn jetty:run (as opposed to profiling a deployment the webapp in another container)
- Determine the path to your profiler agent library (platform dependent), see: http://www.yourkit.com/docs/12/help/agent.jsp
- include -agentpath in your MAVEN_OPTS, for example, on OS X:
- cd fcrepo4/fcrepo-webapp
- mvn jetty:run
- YourKit should now display "Launcher" application as "Ready for profiling".
JMX ReportingTo enable Metrics reporting to JMX with mvn jetty:run
|