Class CoreBenchmarkSuite

java.lang.Object
com.codingchili.core.benchmarking.CoreBenchmarkSuite

public class CoreBenchmarkSuite extends Object
Contains system benchmarks..
  • Constructor Details

    • CoreBenchmarkSuite

      public CoreBenchmarkSuite()
  • Method Details

    • execute

      public Void execute(io.vertx.core.Promise<CommandResult> promise, CommandExecutor executor)
      Creates a clustered vertx instance on which all registered benchmarks will run.
      Parameters:
      promise - callback on completion
      executor - executor to invoke this as a command.
    • maps

      public io.vertx.core.Future<List<BenchmarkGroup>> maps(CoreContext context, BenchmarkListener listener)
      Runs all core map benchmarks.
      Parameters:
      context - the core context to run benchmark on
      listener - benchmark listener to use
      Returns:
      a future that is completed with the results of the benchmark.
    • setIterations

      public CoreBenchmarkSuite setIterations(int iterations)
      Set the number of iterations to perform.
      Parameters:
      iterations - iterations to perform
      Returns:
      fluent