Package com.google.caliper.runner

Examples of com.google.caliper.runner.BenchmarkClassModule


    Injector gsonInjector = Guice.createInjector(PRODUCTION, new GsonModule());
    WorkerSpec request =
        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);
View Full Code Here

TOP

Related Classes of com.google.caliper.runner.BenchmarkClassModule

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.