Retrieves the final stats and closes the shell session. Can be called multiple times to retrieve the stored stats, but will only close the session once (the first time).
Initialize the slicer on the given request. Can only be called once for each instance.
Optional
autoSelectIf: AutoSelectPredicateSlice for the given SlicingCriteria.
Rest
...slicingCriteria: SlicingCriteriaThe per slice stats retrieved for this slicing criteria
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.
The number of slices that were produced
A slicer that can be used to slice exactly one file (multiple times). It holds its own RShell instance, maintains a cached dataflow and keeps measurements.
Make sure to call init to initialize the slicer, before calling slice. After slicing, call finish to close the R session and retrieve the stats.
Note
Under the hood, the benchmark slicer maintains a PipelineExecutor using the DEFAULT_SLICING_PIPELINE.