Engine

object Engine
class Object
trait Matchable
class Any

Value members

Concrete methods

def run[P](plan: Plan[P], options: EngineOptions)(onEvent: Event[P] => AsyncCallback[Unit]): CallbackTo[AbortFn]

Runs a suite of benchmarks (asynchronously).

Runs a suite of benchmarks (asynchronously).

You are required to handle events in order to extract any meaning.

Returns

A function by which the benchmarks can be aborted.

def runToConsole[P](plan: Plan[P], options: EngineOptions): CallbackTo[AbortFn]

Runs a suite of benchmarks (asynchronously), printing details and results to the console.

Runs a suite of benchmarks (asynchronously), printing details and results to the console.

Returns

A function by which the benchmarks can be aborted.