I got into a situation that I have to provide each and every method performance in my code in time taken.
It is a multi layered application and I have to provide for each level. Like
Class A.methodA()
{
Class B.methodB()
{
Class C.methodC()
{
//Time Taken 30 sec
}
//Time Taken 40 secs
}
//Time Taken 50 secs
}
Whole operation completed in 50 secs.
This is how I should provide a report. Is there any framework or easy way than manually tracking start time and stop time of each method? As I am new to java development, finding bit difficult to do this in easily.
