in src/main/java/org/apache/sling/junit/performance/impl/RunIterations.java [37:49]
public void evaluate() throws Throwable {
if (invocations > 0) {
runByInvocations();
return;
}
if (seconds > 0) {
runByTime();
return;
}
throw new IllegalArgumentException("Number of invocations or seconds not provided");
}