trait Measurer[V] extends Serializable
- Alphabetic
- By Inheritance
- Measurer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
afterExecution(context: Context): Unit
Does some final cleanup after execution of all benchmarks in a performance test.
Does some final cleanup after execution of all benchmarks in a performance test.
This method is invoked in the
PerformanceTest
executeTests
method just after execution of all benchmarks.Most measurers do not need to do any side effects in beforeExecution, so the default implementation just does nothing.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beforeExecution(context: Context): Unit
Does some side effects before execution of all benchmarks in a performance test.
Does some side effects before execution of all benchmarks in a performance test.
This method is invoked in the
PerformanceTest
executeTests
method just before execution of any benchmarks.Most measurers do not need add additional context keys in prepareContext, so the default implementation just does nothing.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[U](f: (Quantity[V]) ⇒ Quantity[U]): Measurer[U]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
prepareContext(context: Context): Context
Modifies the initial test context.
Modifies the initial test context.
This method is invoked before the
PerformanceTest
object's ctor is invoked. The key-value pairs that the org.scalameter.Measurer adds to the org.scalameter.Context in this method are visible to all the test snippets within thePerformanceTest
class.Most measurers do not need to add any specific keys, so the default implementation just returns the
context
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
usesInstrumentedClasspath: Boolean
Indicates if a measurer uses instrumented classpath - if
true
measurer must be run using an executor that spawns separate JVMs. -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )