Package com.google.caliper.options

Examples of com.google.caliper.options.OptionsModule


    if (!Strings.isNullOrEmpty(legacyCaliperEnv)) {
      System.err.println("Legacy Caliper is no more. " + LEGACY_ENV + " has no effect.");
    }
    try {
      // TODO(gak): see if there's a better way to deal with options. probably a module
      Injector optionsInjector = Guice.createInjector(new OptionsModule(args));
      CaliperOptions options = optionsInjector.getInstance(CaliperOptions.class);
      Module runnerModule = new ExperimentingRunnerModule();
      Class<?> benchmarkClass = benchmarkClassForName(options.benchmarkClassName());
      Injector injector = optionsInjector.createChildInjector(
          new BenchmarkClassModule(benchmarkClass),
View Full Code Here

TOP

Related Classes of com.google.caliper.options.OptionsModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.