Class org.springframework.aop.aspectj.autoproxy.benchmark.BenchmarkTests

8

tests

0

failures

0

ignored

0.250s

duration

100%

successful

Tests

Test Duration Result
testRepeatedAfterReturningAdviceInvocationsWithAspectJ 0.024s passed
testRepeatedAfterReturningAdviceInvocationsWithSpringAop 0.025s passed
testRepeatedAroundAdviceInvocationsWithAspectJ 0.026s passed
testRepeatedAroundAdviceInvocationsWithSpringAop 0.027s passed
testRepeatedBeforeAdviceInvocationsWithAspectJ 0.030s passed
testRepeatedBeforeAdviceInvocationsWithSpringAop 0.029s passed
testRepeatedMixWithAspectJ 0.028s passed
testRepeatedMixWithSpringAop 0.061s passed

Standard output

StopWatch '': running time (millis) = 1
-----------------------------------------
ms     %     Task name
-----------------------------------------
00001  100%  10 repeated mixed invocations with Spring AOP

StopWatch '': running time (millis) = 1
-----------------------------------------
ms     %     Task name
-----------------------------------------
00001  100%  10 repeated around advice invocations with Spring AOP

StopWatch '': running time (millis) = 0
-----------------------------------------
ms     %     Task name
-----------------------------------------
00000  ?  10 repeated before advice invocations with AspectJ

StopWatch '': running time (millis) = 2
-----------------------------------------
ms     %     Task name
-----------------------------------------
00002  100%  10 repeated around advice invocations with AspectJ

StopWatch '': running time (millis) = 2
-----------------------------------------
ms     %     Task name
-----------------------------------------
00002  100%  10 repeated after returning advice invocations with AspectJ

StopWatch '': running time (millis) = 0
-----------------------------------------
ms     %     Task name
-----------------------------------------
00000  ?  10 repeated before advice invocations with Spring AOP

StopWatch '': running time (millis) = 2
-----------------------------------------
ms     %     Task name
-----------------------------------------
00002  100%  10 repeated after returning advice invocations with Spring AOP

StopWatch '': running time (millis) = 2
-----------------------------------------
ms     %     Task name
-----------------------------------------
00002  100%  10 repeated mixed invocations with AspectJ