Profiling Procedure
- YourKit 12 (committers are eligible for a free Open Source license)
- To profile fcrepo4 with mvn jetty:run (as opposed to deploying the webapp in your own container to profile)
- 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:
- export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m -agentpath:/Applications/YourKit_Java_Profiler_12.0.5.app/bin/mac/libyjpagent.jnilib=delay=10000"
- cd fcrepo4/fcrepo-webapp
- mvn jetty:run
{"serverDuration": 117, "requestCorrelationId": "a3cd4b46883cc954"}