Constructors

Methods

  • Only call in case of an error - if the session must be closed and the benchmark itself is to be considered failed/dead.

    Returns void

  • Call slice for all slicing criteria that match the given filter. See collectAllSlicingCriteria for details.

    the `report` function will be called *before* each *individual* slice is performed.

    Parameters

    • filter: SlicingCriteriaFilter
    • report: ((current: number, total: number, allCriteria: SlicingCriteria[]) => void) = ...
        • (current, total, allCriteria): void
        • Parameters

          Returns void

    • sampleRandom: number = -1

    Returns Promise<number>

    The number of slices that were produced

    • collectAllSlicingCriteria
    • SlicingCriteriaFilter