Package

org

scalameter

Permalink

package scalameter

Linear Supertypes
MeasureBuilder[Unit, Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scalameter
  2. MeasureBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AbstractPerformanceTest extends AnyRef

    Permalink

    Abstract required for the org.scalameter.ScalaMeterFramework to find all performance tests.

  2. abstract class BasePerformanceTest[U] extends AbstractPerformanceTest

    Permalink
  3. abstract class Bench[U] extends DSL[U] with Serializable

    Permalink

    Base class for ScalaMeter benchmarks.

  4. case class CurveData[T](measurements: Seq[Measurement[T]], info: Map[Key[_], Any], context: Context) extends Product with Serializable

    Permalink
  5. abstract class DSL[U] extends BasePerformanceTest[U]

    Permalink
  6. class Errors[T] extends AnyRef

    Permalink
  7. trait Executor[V] extends AnyRef

    Permalink

    Executor is a class that executes benchmarks.

    Executor is a class that executes benchmarks.

    It uses a warmer to get the VM to a state where benchmarks can be executed. It then uses a measurer to do the actual measurements.

  8. abstract class Gen[T] extends Serializable

    Permalink

    Base class for ScalaMeter generators.

    Base class for ScalaMeter generators.

    Generators create warmup and benchmark datasets for running benchmarks. They support neat combinator-style syntax for composing more complex generators out of simpler ones.

  9. trait GroupedPerformanceTest extends BasePerformanceTest[Nothing]

    Permalink
  10. case class History[V](results: Seq[Entry[V]], infomap: Map[Key[_], Any] = Map.empty) extends Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  11. type KeyValue = (Key[T], T) forSome {type T}

    Permalink
  12. sealed trait LowPriorityImplicits extends AnyRef

    Permalink
  13. case class Measurement[T](value: T, params: Parameters, data: MeasurementData[T], units: String)(implicit evidence$1: Pickler[T]) extends Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  14. case class Parameter[T](fullName: String)(implicit evidence$1: Pickler[T]) extends PicklerBasedKey[T] with Product with Serializable

    Permalink
  15. case class Parameters(axisData: Map[Parameter[_], Any]) extends Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  16. trait Persistor extends AnyRef

    Permalink

    Persistors are used to store historical data about benchmark runs.

  17. trait PrettyPrinter[T] extends Serializable

    Permalink

    Pretty prints values.

    Pretty prints values.

    The default implementation simply calls toString method.

  18. trait Reporter[T] extends Serializable

    Permalink

    Reporters report results of ScalaMeter benchmarks.

    Reporters report results of ScalaMeter benchmarks.

    Reporters are called at the completion of each benchmark, and once more after all benchmarks complete.

  19. class ScalaMeterFramework extends Framework

    Permalink
  20. case class Setup[T](context: Context, gen: Gen[T], setupbeforeall: Option[() ⇒ Unit], teardownafterall: Option[() ⇒ Unit], setup: Option[(T) ⇒ Any], teardown: Option[(T) ⇒ Any], customwarmup: Option[() ⇒ Any], snippet: (T) ⇒ Any) extends Product with Serializable

    Permalink

Value Members

  1. object BasePerformanceTest

    Permalink
  2. object Bench extends Serializable

    Permalink
  3. object CurveData extends Serializable

    Permalink
  4. object DSL

    Permalink
  5. object Executor

    Permalink

    Companion object with default implementations.

  6. object FrameworkKey extends KeyContainer

    Permalink

    Object containing keys specific to the ScalaMeter benchmarking framework.

  7. object Gen extends Serializable

    Permalink
  8. object History extends Serializable

    Permalink
  9. object Main

    Permalink
  10. object Measurement extends Serializable

    Permalink
  11. object Parameters extends Serializable

    Permalink
  12. object Persistor

    Permalink
  13. object PrettyPrinter extends LowPriorityImplicits with Serializable

    Permalink
  14. object Reporter extends Serializable

    Permalink
  15. object api extends Keys

    Permalink

    Import the contents of this singleton object to obtain access to most abstractions in the ScalaMeter API.

    Import the contents of this singleton object to obtain access to most abstractions in the ScalaMeter API.

    Note that some definitions might shadow others, so if you import the contents of this object, you should not import the contents of other packages directly.

    This object contains:

    • basic datatypes and singleton objects for writing tests, such as PerformanceTest
    • all the context map keys
    • contents of the execution package
    • contents of the reporting package
    • contents of the persistence package
    • the Executor.Measurer object
    • the RegressionReporter.Tester object
    • the RegressionReporter.Historian object
    • the ChartReporter.ChartFactory object
    • the HtmlReporter.Renderer object
    • and much more...
  16. def config(kvs: KeyValue*): MeasureBuilder[T, U]

    Permalink
    Definition Classes
    MeasureBuilder
  17. val ctx: Context

    Permalink
    Definition Classes
    MeasureBuilder
  18. def currentContext: Context

    Permalink
  19. def events: Events

    Permalink
  20. package execution

    Permalink
  21. package japi

    Permalink
  22. def log: Log

    Permalink
  23. def measure[S](b: ⇒ S): Quantity[U]

    Permalink
    Definition Classes
    MeasureBuilder
  24. def measureWith[S](b: (T) ⇒ S): Quantity[U]

    Permalink
    Definition Classes
    MeasureBuilder
  25. val measurer: Measurer[U]

    Permalink
    Definition Classes
    MeasureBuilder
  26. package persistence

    Permalink
  27. val regen: () ⇒ T

    Permalink
    Definition Classes
    MeasureBuilder
  28. package reporting

    Permalink
  29. val resultFunction: (Seq[Quantity[U]]) ⇒ Quantity[U]

    Permalink
    Definition Classes
    MeasureBuilder
  30. def setUp(b: (T) ⇒ Unit): MeasureBuilder[T, U]

    Permalink
    Definition Classes
    MeasureBuilder
  31. val setup: (T) ⇒ Unit

    Permalink
    Definition Classes
    MeasureBuilder
  32. def tearDown(b: (T) ⇒ Unit): MeasureBuilder[T, U]

    Permalink
    Definition Classes
    MeasureBuilder
  33. val teardown: (T) ⇒ Unit

    Permalink
    Definition Classes
    MeasureBuilder
  34. package utils

    Permalink
  35. val warmer: Warmer

    Permalink
    Definition Classes
    MeasureBuilder
  36. def withMeasurer[V](m: Measurer[V], a: (Seq[Quantity[V]]) ⇒ Quantity[V]): MeasureBuilder[T, V]

    Permalink
    Definition Classes
    MeasureBuilder
  37. def withMeasurer(m: Measurer[U]): MeasureBuilder[T, U]

    Permalink
    Definition Classes
    MeasureBuilder
  38. def withTestContext[U](ctx: Context, log: Log, handler: Events)(body: ⇒ U): U

    Permalink
  39. def withWarmer(w: Warmer): MeasureBuilder[T, U]

    Permalink
    Definition Classes
    MeasureBuilder

Deprecated Value Members

  1. def defaultClasspath: String

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5) Use utils.ClassPath.default

  2. def extractClasspath(classLoader: ClassLoader, default: ⇒ String): String

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5) Use utils.ClassPath.extract

Inherited from MeasureBuilder[Unit, Double]

Inherited from AnyRef

Inherited from Any

Ungrouped