package org.collperf






trait PerformanceTest extends DSL {

  def executor: Executor

  def reporter: Reporter

}


object PerformanceTest {

  object Executor {

    trait LocalMin extends PerformanceTest {
      lazy val executor = execution.LocalExecutor(Aggregator.min, new org.collperf.Executor.Measurer.Default())
    }

    trait NewJvmMedian extends PerformanceTest {
      lazy val executor = execution.NewJvmExecutor(Aggregator.average, new org.collperf.Executor.Measurer.Default())
    }

  }

  object Reporter {

    trait Console extends PerformanceTest {
      lazy val reporter = new reporting.ConsoleReporter
    }

    trait Chart extends PerformanceTest {
      lazy val reporter = new reporting.ChartReporter("", reporting.ChartReporter.ChartFactory.XYLine())
    }

    trait Html extends PerformanceTest {
      lazy val reporter = new reporting.HtmlReporter(reporting.HtmlReporter.Renderer.all: _*)
    }

  }

}


package org.collperf






trait PerformanceTest extends DSL {

  def executor: Executor

  def reporter: Reporter

}


object PerformanceTest {

  object Executor {

    trait LocalMin extends PerformanceTest {
      lazy val executor = execution.LocalExecutor(Aggregator.min)
    }

    trait NewJvmMedian extends PerformanceTest {
      lazy val executor = execution.NewJvmExecutor(Aggregator.average)
    }

  }

  object Reporter {

    trait Console extends PerformanceTest {
      lazy val reporter = new reporting.ConsoleReporter
    }

    trait Chart extends PerformanceTest {
      lazy val reporter = new reporting.ChartReporter("", reporting.ChartReporter.ChartFactory.XYLine())
    }

    trait Html extends PerformanceTest {
      lazy val reporter = new reporting.HtmlReporter(reporting.HtmlReporter.Renderer.all: _*)
    }

  }

}


--- 
+++ 
@@ -19,11 +19,11 @@
   object Executor {
 
     trait LocalMin extends PerformanceTest {
-      lazy val executor = execution.LocalExecutor(Aggregator.min)
+      lazy val executor = execution.LocalExecutor(Aggregator.min, new org.collperf.Executor.Measurer.Default())
     }
 
     trait NewJvmMedian extends PerformanceTest {
-      lazy val executor = execution.NewJvmExecutor(Aggregator.average)
+      lazy val executor = execution.NewJvmExecutor(Aggregator.average, new org.collperf.Executor.Measurer.Default())
     }
 
   }
Fix a bug in previous commit.
