public static void main(String[] args) { CaliperMain.main(QuadrupedSupportPolygonTest.class, args); } }
public static void main(String[] args) { CaliperMain.main(XmlBenchmark.class, args); }
public static void main(String[] args) { CaliperMain.main(XmlBenchmark.class, args); }
public static void main(String[] args) { CaliperMain.main(RxTracerBenchmark.class, args); } }
public static void main(String[] args) throws Exception { CaliperMain.main(WhitespaceMatcherBenchmark.class, new String[] {}); }
/** * Your benchmark classes can implement main() like this: <pre> {@code * * public static void main(String[] args) { * CaliperMain.main(MyBenchmark.class, args); * }}</pre> * * Note that this method does invoke {@link System#exit} when it finishes. Consider {@link * #exitlessMain} if you don't want that. * * <p>Measurement is handled in a subprocess, so it will not use {@code benchmarkClass} itself; * the class is provided here only as a shortcut for specifying the full class <i>name</i>. The * class that gets loaded later could be completely different. */ public static void main(Class<?> benchmarkClass, String[] args) { main(concat(args, benchmarkClass.getName())); }
/** * Your benchmark classes can implement main() like this: <pre> {@code * * public static void main(String[] args) { * CaliperMain.main(MyBenchmark.class, args); * }}</pre> * * Note that this method does invoke {@link System#exit} when it finishes. Consider {@link * #exitlessMain} if you don't want that. * * <p>Measurement is handled in a subprocess, so it will not use {@code benchmarkClass} itself; * the class is provided here only as a shortcut for specifying the full class <i>name</i>. The * class that gets loaded later could be completely different. */ public static void main(Class<?> benchmarkClass, String[] args) { main(concat(args, benchmarkClass.getName())); }