Rep

com.phasmidsoftware.lascala.fp.Benchmark.Rep
implicit class Rep(n: Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def times[A](f: => A): Benchmark[A]

Method which can be invoked, provided that Benchmark._ has been imported. See for example BenchmarkSpec

Method which can be invoked, provided that Benchmark._ has been imported. See for example BenchmarkSpec

Type parameters

A

the result type of f

Value parameters

f

the function to be invoked

Attributes

Returns

a Benchmark whose nanos is the average number of nano-seconds per run