Package com.google.caliper.bridge

Examples of com.google.caliper.bridge.BridgeModule


      Module runnerModule = new ExperimentingRunnerModule();
      Class<?> benchmarkClass = benchmarkClassForName(options.benchmarkClassName());
      Injector injector = optionsInjector.createChildInjector(
          new BenchmarkClassModule(benchmarkClass),
          new OutputModule(stdout, stderr),
          new BridgeModule(),
          new GsonModule(),
          new ConfigModule(),
          new ServiceModule(),
          runnerModule);
      if (options.printConfiguration()) {
View Full Code Here


        gsonInjector.getInstance(Gson.class).fromJson(args[0], WorkerSpec.class);

    Injector workerInjector = gsonInjector.createChildInjector(
        new BenchmarkClassModule(Class.forName(request.benchmarkSpec.className())),
        ExperimentModule.forWorkerSpec(request),
        new BridgeModule(),
        new WorkerModule(request));

    Worker worker = workerInjector.getInstance(Worker.class);
    WorkerEventLog log = workerInjector.getInstance(WorkerEventLog.class);
View Full Code Here

TOP

Related Classes of com.google.caliper.bridge.BridgeModule

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.