Represents a set of BenchmarkInstances.

The name of this benchmark set.

Use javascript's builtin Set instead to build a set of BenchmarkInstances (e.g. new Set()).

Constructors

Methods

  • Test the current benchmark set.

    Parameters

    • worker: undefined | ((instance: benchmarkInstance) => boolean) = ...

      Function with no parameters that will be called after loading the bencharmk code as AST.

    • executeCode: undefined | boolean = false

      If true, executes the code after worker is applied.

    • outputProcessor: undefined | ((executor: processExecutor) => void) = ...

      If execution is enabled, will be called after execution with the corresponding ProcessExecutor.

    Returns string[]

    An array with the names of benchmarks that finished with problemas, or an empty array if everything was fine.