Showing posts with label profiling. Show all posts
Showing posts with label profiling. Show all posts

Friday, June 24, 2011

OSB profiling and monitoring your Proxy Service Message Flow

I was quite impressed by what you can achieve with the Monitoring
console, if you activate Monitoring at "Action" level....
you get execution time of every action in your Message Flow, including
execution time of each Service Callout...
Just inject a constant load on your system, and enjoy.

Monday, March 14, 2011

YourKit Java Profiling

it's really neat and very easy to install and use:

http://www.yourkit.com

how to add an agent to your application:

http://www.yourkit.com/docs/95/help/running_with_profiler.jsp

To profile an application running in JBoss is very easy:

do Tools/Integrate with JEE server and provide location of your run.bat file,
it will create a run_with_yjp.bat for you.

To profile Java 5, you must use the old version (8).

TPTP, Java Profiling in Eclipse

http://eclipse.org/tptp/home/downloads/

Choose "Install new software":
Test and Performance Tools Platform Project (TPTP) - http://download.eclipse.org/tptp/updates/

choose the latest (4.1.7)


After a couple of hours waiting, I get this error:

An error occurred while installing the items
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.eclipse.tptp.platform.jvmti.runtime 4.6.3.v201102041710, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.ChmodAction).
The action chmod failed - file C:\eclipse\plugins\org.eclipse.tptp.platform.jvmti.runtime_4.6.3.v201102041710\agent_files\linux_ia32\libACCollector.so does not exist.



(and I am running on Windows XP 32!)


So, desperate, I try to install another profiler, JVM Monitor,
and I get:

Cannot complete the install because one or more required items could not be found.
Software currently installed: Groovy-Eclipse Feature 2.1.1.xx-20101215-2100-e36 (org.codehaus.groovy.eclipse.feature.feature.group 2.1.1.xx-20101215-2100-e36)
Missing requirement: JDT Core patch for Groovy-Eclipse plugin 2.1.1.xx-20101215-2100-e36 (org.codehaus.groovy.jdt.patch.feature.group 2.1.1.xx-20101215-2100-e36) requires 'org.eclipse.jdt.core [3.6.1.xx-20101215-2100-e36]' but it could not be found
Cannot satisfy dependency:
From: Groovy-Eclipse Feature 2.1.1.xx-20101215-2100-e36 (org.codehaus.groovy.eclipse.feature.feature.group 2.1.1.xx-20101215-2100-e36)
To: org.codehaus.groovy.jdt.patch.feature.group [2.1.1.xx-20101215-2100-e36]



(this apparently must be a bug)...

Welcome to Eclipse World /:o(