Package

org.scalameter

execution

Permalink

package execution

Visibility
  1. Public
  2. All

Type Members

  1. final class JvmRunner extends AnyRef

    Permalink
  2. class LocalExecutor[V] extends Executor[V]

    Permalink

    Runs warmups until the maximum number of warmups is done, or the running times have stabilized.

    Runs warmups until the maximum number of warmups is done, or the running times have stabilized. After that, it runs the tests the specified number of times and collects the results using an aggregate function.

    Stabilization is detected by tracking the running times for which there may have been and those for which there was no garbage collection. When either of the two running times stabilizes, we consider the JVM warmed up for the snippet.

    We do this by registering on GC events instead of invoking Platform.collectGarbage, since usually the time to invoke the snippet is less than the time to perform full GC, and most triggered GC cycles are fast because they collect only the young generation.

  3. class Main extends AnyRef

    Permalink
  4. case class SeparateJvmFailure(t: Throwable) extends Product with Serializable

    Permalink
  5. class SeparateJvmsExecutor[V] extends Executor[V]

    Permalink

    Runs multiple JVM instances per each setup and aggregates all the results together.

    Runs multiple JVM instances per each setup and aggregates all the results together.

    This produces more stable results, as the performance related effects of each JVM instantiation are averaged.

Value Members

  1. object LocalExecutor extends Factory[LocalExecutor]

    Permalink
  2. object Main

    Permalink
  3. object SeparateJvmsExecutor extends Factory[SeparateJvmsExecutor]

    Permalink

Ungrouped