As I have mentioned previously, there are several utilities that I often find myself reusing when I join a new project. One of these utilities is the Logging or Tracing Aspect that I have previously discussed while the other is an aspect that facilitates a rudimentary profiling of the application code.
I first got the idea for such a profiling aspect from the Spring Framework user guide which presents a basic implementation in the Spring AOP section. I subsequently observed a more sophisticated implementation developed by Jerry Kiely, who I occasionally have the pleasure of working with.
In what follows, I will present an implementation of a profiling aspect and explain how this can be utilised using Spring and AspectJ Load Time Weaving.
» Read more: Creating a Profiling Aspect with Spring AOP and AspectJ


