The statistics that are collected by the BenchmarkSlicer and used for benchmarking.

interface SlicerStats {
    commonMeasurements: Map<
        | "total"
        | "initialize R session"
        | "retrieve AST from R code"
        | "normalize R AST"
        | "produce dataflow information"
        | "close R session", bigint>;
    dataflow: SlicerStatsDataflow<number>;
    dataflowTimePerToken: TimePerToken<number>;
    input: SlicerStatsInput<number>;
    memory: Map<
        | "total"
        | "initialize R session"
        | "retrieve AST from R code"
        | "normalize R AST"
        | "produce dataflow information"
        | "close R session", BenchmarkMemoryMeasurement<number>>;
    normalizeTimePerToken: TimePerToken<number>;
    perSliceMeasurements: Map<SlicingCriteria, PerSliceStats>;
    request: RParseRequestFromFile | RParseRequestFromText;
    retrieveTimePerToken: TimePerToken<number>;
    totalCommonTimePerToken: TimePerToken<number>;
}

Properties

commonMeasurements: Map<
    | "total"
    | "initialize R session"
    | "retrieve AST from R code"
    | "normalize R AST"
    | "produce dataflow information"
    | "close R session", bigint>
dataflow: SlicerStatsDataflow<number>
dataflowTimePerToken: TimePerToken<number>
input: SlicerStatsInput<number>
memory: Map<
    | "total"
    | "initialize R session"
    | "retrieve AST from R code"
    | "normalize R AST"
    | "produce dataflow information"
    | "close R session", BenchmarkMemoryMeasurement<number>>
normalizeTimePerToken: TimePerToken<number>
perSliceMeasurements: Map<SlicingCriteria, PerSliceStats>
retrieveTimePerToken: TimePerToken<number>
totalCommonTimePerToken: TimePerToken<number>