Benchmark

final class Benchmark[-P](val name: String, val setup: SetupFn[P], val isDisabledByDefault: Boolean)

A benchmark. A single procedure to measure.

Type Params
P

A param that alters the benchmark / data used by the benchmark.

Value Params
setup

Prepare the benchmark function. Setup and teardown times aren't measured.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def prefix(prefix: String): Benchmark[P]
def rename(modName: String => String): Benchmark[P]
def rename(newName: String): Benchmark[P]
override def toString: String
Definition Classes
Any

Concrete fields

val isDisabledByDefault: Boolean
val name: String
val setup: SetupFn[P]