smmorneau / TracingProfiler

A profiler that uses bytecode transformations to produce statistics on the number of method invocations, the total time spent in each method, and the total number of object instantiations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Author:       Steely Morneau
Project:      TracingProfiler
Last updated: April 2012
-----------------------------

Summary:
A profiler that reports on the number of method invocations, the total time 
    spent in each method, and the total number of object instantiations. 
Uses Java agents and the ASM library for bytecode transformations to inject 
    code the start and stop of every method to track how long each method 
    invocation takes, as well as how many times the method is called. 
Also counts the number of objects of each type that are created.
Uses a shutdown hook to correlate the data and output it to standard out.

Usage: 
java -javaagent:tracer.jar SomeTestProgram

About

A profiler that uses bytecode transformations to produce statistics on the number of method invocations, the total time spent in each method, and the total number of object instantiations.


Languages

Language:Java 100.0%