in src/main/java/org/apache/sling/junit/performance/runner/PerformanceRunner.java [175:203]
protected Statement methodInvoker(FrameworkMethod method, Object test) {
Statement methodInvoker = super.methodInvoker(method, test);
Statement invokeWarmUp = methodInvoker;
invokeWarmUp = withWarmUpIterationStartedEvents(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpIterationFinishedEvents(method, test, invokeWarmUp);
invokeWarmUp = withBeforeWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withAfterWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpStartedEvents(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpFinishedEvents(method, test, invokeWarmUp);
invokeWarmUp = withBeforeWarmUps(method, test, invokeWarmUp);
invokeWarmUp = withAfterWarmUps(method, test, invokeWarmUp);
Statement invokePerformanceTest = methodInvoker;
invokePerformanceTest = withExecutionIterationStartedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withExecutionIterationFinishedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withBeforePerformanceIterations(method, test, invokePerformanceTest);
invokePerformanceTest = withAfterPerformanceIterations(method, test, invokePerformanceTest);
invokePerformanceTest = withPerformanceIterations(method, test, invokePerformanceTest);
invokePerformanceTest = withExecutionStartedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withExecutionFinishedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withBeforePerformanceTests(method, test, invokePerformanceTest);
invokePerformanceTest = withAfterPerformanceTests(method, test, invokePerformanceTest);
return new RunSerial(invokeWarmUp, invokePerformanceTest);
}