congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Runner
Code IndexAdd Tabnine to your IDE (free)

How to use
Runner
in
org.openjdk.jmh.runner

Best Java code snippets using org.openjdk.jmh.runner.Runner (Showing top 20 results out of 837)

Refine searchRefine arrow

  • ChainedOptionsBuilder
  • OptionsBuilder
origin: apache/incubator-druid

 public static void main(String[] args) throws RunnerException
 {
  Options opt = new OptionsBuilder()
    .include(TimeParseBenchmark.class.getSimpleName())
    .warmupIterations(1)
    .measurementIterations(10)
    .forks(1)
    .build();

  new Runner(opt).run();
 }
}
origin: apache/incubator-druid

 public static void main(String[] args) throws RunnerException
 {
  Options opt = new OptionsBuilder()
    .include(FlattenJSONBenchmark.class.getSimpleName())
    .build();

  new Runner(opt).run();
 }
}
origin: btraceio/btrace

  public static void main(String[] args) throws Exception {
    Options opt = new OptionsBuilder()
          .addProfiler("gc")
          .include(".*" + StringOpBenchmarks.class.getSimpleName() + ".*test.*")
          .build();

      new Runner(opt).run();
  }
}
origin: prestodb/presto

  public static void main(String[] args)
      throws RunnerException
  {
    Options options = new OptionsBuilder()
        .verbosity(VerboseMode.NORMAL)
        .include(".*" + BenchmarkGeometrySerde.class.getSimpleName() + ".*")
        .build();
    new Runner(options).run();
  }
}
origin: cglib/cglib

  public static void main(String[] args) throws RunnerException
  {
    Options opt = new OptionsBuilder()
        .include(BeansBenchmark.class.getSimpleName())
        .addProfiler(GCProfiler.class)
        .detectJvmArgs()
        .build();

    new Runner(opt).run();
  }
}
origin: JCTools/JCTools

  public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().forks(0)
        .include(ChannelThroughputBackoffNone.class.getSimpleName()).param("type", "Mpsc")
        .build();

    new Runner(opt).run();
  }
}
origin: mulesoft/mule

 ChainedOptionsBuilder optionsBuilder = createCommonOptionsBuilder(clazz, testName, params, timeUnit, profileGC);
 optionsBuilder = optionsBuilder
   .forks(1)
   .threads(threads)
   .warmupIterations(10)
   .measurementIterations(10);
 assertions.accept(new Runner(optionsBuilder.build()).runSingle());
} else {
 ChainedOptionsBuilder optionsBuilder = createCommonOptionsBuilder(clazz, testName, params, timeUnit, profileGC);
   .warmupIterations(0)
   .measurementIterations(1);
 new Runner(optionsBuilder.build()).runSingle();
origin: prestodb/presto

  public static void main(String[] args)
      throws RunnerException
  {
    Options options = new OptionsBuilder()
        .verbosity(VerboseMode.NORMAL)
        .include(".*" + InCodeGeneratorBenchmark.class.getSimpleName() + ".*")
        .build();

    new Runner(options).run();
  }
}
origin: Vedenin/useful-java-links

  public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder()
        .include(FindCountOfOccurrencesBenchmark.class.getSimpleName())
        .build();

    new Runner(opt).run();
  }
}
origin: btraceio/btrace

  public static void main(String[] args) throws Exception {
    Options opt = new OptionsBuilder()
          .addProfiler("stack")
          .include(".*" + OnMethodTemplateBenchmark.class.getSimpleName() + ".*test.*")
          .build();

      new Runner(opt).run();
  }
}
origin: prestodb/presto

  public static void main(String[] args)
      throws RunnerException
  {
    Options options = new OptionsBuilder()
        .verbosity(VerboseMode.NORMAL)
        .include(".*" + RegexpFunctionsBenchmark.class.getSimpleName() + ".*")
        .build();

    new Runner(options).run();
  }
}
origin: Vedenin/useful-java-links

  public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder()
        .include(ConvertStringToInputStreamBenchmark.class.getSimpleName())
        .timeUnit(TimeUnit.MICROSECONDS)
        .warmupIterations(5)
        .measurementIterations(50)
        .forks(1)
        .mode(Mode.AverageTime)
        .build();

    new Runner(opt).run();
  }
}
origin: Vedenin/useful-java-links

public static void main(String[] args) throws RunnerException {
  Options opt = new OptionsBuilder()
      .include(ConvertStringToInputStreamBenchmark.class.getSimpleName())
      .build();
  new Runner(opt).run();
}
origin: btraceio/btrace

  public static void main(String[] args) throws Exception {
    Options opt = new OptionsBuilder()
        .addProfiler("stack")
        .include(".*" + StatsdBenchmarks.class.getSimpleName() + ".*test.*")
        .build();

    new Runner(opt).run();
  }
}
origin: prestodb/presto

  public static void main(String[] args)
      throws Throwable
  {
    Options options = new OptionsBuilder()
        .verbosity(VerboseMode.NORMAL)
        .include(".*" + BenchmarkRoundFunction.class.getSimpleName() + ".*")
        .build();
    new Runner(options).run();
  }
}
origin: Vedenin/useful-java-links

  public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder()
        .include(IterateThroughHashMapTest.class.getSimpleName())
        .timeUnit(TimeUnit.MICROSECONDS)
        .warmupIterations(3)
        .measurementIterations(5)
        .param("size","100",/*"500","900","1300","1700","2100","2500","5000","10000","15000","20000","25000" ,*/ "30000")
        .forks(1)
        .mode(Mode.AverageTime)
        .build();

    new Runner(opt).run();
  }
}
origin: jersey/jersey

  public static void main(final String[] args) throws Exception {
    final Options opt = new OptionsBuilder()
        // Register our benchmarks.
        .include(JacksonBenchmark.class.getSimpleName())
        .build();

    new Runner(opt).run();
  }
}
origin: btraceio/btrace

  public static void main(String[] args) throws Exception {
    Options opt = new OptionsBuilder()
          .addProfiler("stack")
          .include(".*" + ProbeLoadingBenchmark.class.getSimpleName() + ".*test.*")
          .build();

      new Runner(opt).run();
  }
}
origin: prestodb/presto

  public static void main(String[] args)
      throws RunnerException
  {
    Options options = new OptionsBuilder()
        .verbosity(VerboseMode.NORMAL)
        .include(".*" + BenchmarkSTIntersects.class.getSimpleName() + ".*")
        .build();
    new Runner(options).run();
  }
}
origin: apache/incubator-pinot

 public static void main(String[] args)
   throws Exception {
  ChainedOptionsBuilder opt =
    new OptionsBuilder().include(BenchmarkDictionary.class.getSimpleName()).warmupTime(TimeValue.seconds(60))
      .warmupIterations(8).measurementTime(TimeValue.seconds(60)).measurementIterations(8).forks(5);

  new Runner(opt.build()).run();
 }
}
org.openjdk.jmh.runnerRunner

Most used methods

  • <init>
  • run
  • runSingle
  • actOn
  • createAndShowGUI
  • getForkedMainCommand
  • list
  • participate
  • runIn
  • setAge
  • setName
  • shutdown
  • setName,
  • shutdown,
  • stopRunning,
  • waitTillDone

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now