Benchmark

com.phasmidsoftware.lascala.fp.Benchmark
See theBenchmark companion object
trait Benchmark[T] extends () => T

The result of a benchmark: invoking it evaluates the benchmarked expression once more.

Type parameters

T

the result type of the benchmarked expression

Attributes

Companion
object
Graph
Supertypes
trait () => T
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def nanos: Double

Attributes

Returns

the average number of nano-seconds per run

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function0 -> Any
Inherited from:
Function0

Inherited and Abstract methods

def apply(): T

Applies the body of this function to the arguments.

Applies the body of this function to the arguments.

Attributes

Returns

the result of function application.

Inherited from:
Function0