Forums Register Login

AOP with JSf to profiling methods in application

+Pie Number of slices to send: Send
HI All,
My requirement is to calculate the each and every method execution time in application. and it should be generic. could anybody please suggest on this topic.
1
+Pie Number of slices to send: Send
Go with AroundAdvice if you are using SpringAOP..Otherwise you have to create proxy class for all your classes and do method interposition using Java reflections.
+Pie Number of slices to send: Send
For practical purposes, however, a good code profiler would be a lot better. And it wouldn't require source code mods or AOP.

When optimizing applications, it's not as important to know how long each method takes to execute as how long the code as a whole takes to execute for the given task and what parts of the code are offending.
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1129 times.
Similar Threads
Deploy Java Application On Customer Side?
StuckThreadMaxTime Error.
single threaded or multi threaded
adding tomcat 6.0 error
Tech Word Game
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:01:54.