So I have a simple benchmark like this:
public class JustATest1 extends Benchmark{
@Param({"10", "100", "1000", "10000"}) private int length;
public void timeNanoTime(int reps) {
for (int i = 0; i < reps; i++) {
System.nanoTime();
}
}
public static void main(String[] args) {
CaliperMain.main(JustATest1.class, args);
}
}
This benchmark is inside a maven module, in a multi-maven project that i have using IntelliJ version 12
Now how do I go about running this via IntelliJ and/or command line? I added caliper to my pom.xml so I am not exaclty sure where the .jar will be either.