Skip to content

codingfunc/MethodProfiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MethodProfiler

Sample code to instrument/profile given classes and methods using javassist. MethodProfile requires a class and optionally a method name to insert profiling statements. If only a class name is provided, all methods of the class will be profiled. The agent will not do anything if no classname is provided.

To compile: mvn package

To use: Download jassist.jar from http://jboss-javassist.github.io/javassist/ and add to the classpath run: java -cp ".:*.jar" -javaagent:MethodProfiler-1.0.jar="class<:method>" Application

About

Sample code to profile java methods at runtime using jassist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages