performance/src/main/java/org/justinnk/masonssa/evaluation/Evaluator.java
/**
   * Test the performance of the FRM with the NRM aspect woven into the model.
   *
   * @throws RunnerException When jmh fails.
   */
Test the performance of the FRM with the NRM aspect woven into the model.
@throws RunnerException When jmh fails.
Test the performance of the FRM with the NRM aspect woven into the model . @throws RunnerException When jmh fails .
private static void overhead(Method method) throws RunnerException {
    if (method == Method.frm_overhead) {
      OptionsBuilder opt = new OptionsBuilder();
      opt.include(BenchmarkSirsGridFrm.class.getSimpleName())
          .result("evaluation/performance_data/sirs/FirstReactionMethod_grid_overhead_jmh.csv");
      opt.measurementIterations(numIterations)
          .warmupIterations(warmupIterations)
          .warmupTime(TimeValue.seconds(warmupTime))
          .measurementTime(TimeValue.seconds(measurementTime))
          .forks(numForks)
          .jvmArgs("-Xms2g", "-Xmx7g")
          .resultFormat(ResultFormatType.CSV)
          .build();
      new Runner(opt).run();
    }
  }
private static void overhead ( Method method ) throws RunnerException { if ( method == Method . frm_overhead ) { OptionsBuilder opt = new OptionsBuilder ( ) ; opt . include ( BenchmarkSirsGridFrm . class . getSimpleName ( ) ) . result ( "evaluation/performance_data/sirs/FirstReactionMethod_grid_overhead_jmh.csv" ) ; opt . measurementIterations ( numIterations ) . warmupIterations ( warmupIterations ) . warmupTime ( TimeValue . seconds ( warmupTime ) ) . measurementTime ( TimeValue . seconds ( measurementTime ) ) . forks ( numForks ) . jvmArgs ( "-Xms2g" , "-Xmx7g" ) . resultFormat ( ResultFormatType . CSV ) . build ( ) ; new Runner ( opt ) . run ( ) ; } }
Test the performance of the FRM with the NRM aspect woven into the model.
Test the performance of the FRM with the NRM aspect woven into the model .