@eagleoutice/flowr - v2.15.8
    Preparing search index...

    Class BenchmarkSlicer

    Index
    • 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

    • Project the control flow graph out of the dataflow graph that carries it.

      There is no separate control flow analysis any more, so what the step measures is the cost of holding the control flow as its own structure; walking it on the dataflow graph costs nothing on top of the dataflow analysis itself.

      Returns void

    • Measure the phases that are not part of the slicing itself: the dependencies query, the linter, and the synthetic calibration workload, the only one that reports its own time.

      These run after all other steps and are excluded from the CommonSlicerMeasurements (and hence from the total), so that they cannot distort any of the existing measurements. A failing phase is logged and skipped, it never aborts the benchmark.

      Parameters

      • calibrate: boolean = true

        whether to run the calibration, which describes the machine and hence only has to run for some files of a suite

      Returns Promise<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

      Returns Promise<number>

      The number of slices that were produced

      • collectAllSlicingCriteria
      • SlicingCriteriaFilter