A simple spring AOP to demo log execution time
- It has a dummy controller and dummy service which does some heavy lifting of work for 2 sec.
- With the use of annotation
@LogExecutionTime
we can measure the time taken by any method. - It has a simple advice with Join point with
@Around
option.