UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

32 lines (31 loc) 1.11 kB
/** * This module is tasked with processing the results of the benchmarking (see {@link SlicerStats}). * @module */ import type { UltimateSlicerStats } from './data'; import { type CommonSummarizerConfiguration, Summarizer } from '../../util/summarizer'; export interface BenchmarkSummarizerConfiguration extends CommonSummarizerConfiguration { /** * If given, produce graph data output (e.g., for the benchmark visualization) to the given path */ graphOutputPath?: string; /** * The input path to read from */ inputPath: string; /** * Path for the intermediate results of the preparation phase */ intermediateOutputPath: string; /** * Path for the final results of the summarization phase */ outputPath: string; } export declare class BenchmarkSummarizer extends Summarizer<UltimateSlicerStats, BenchmarkSummarizerConfiguration> { constructor(config: BenchmarkSummarizerConfiguration); preparationPhase(): Promise<void>; summarizePhase(): Promise<UltimateSlicerStats>; private removeIfExists; private summaryFile; }