UNPKG

@comyata/run

Version:

Simplify data workflows and management with data templates, for browser and server.

30 lines (29 loc) 926 B
export interface ExprEvalStats { /** * List of each import directly inside the pointer, * with all other imports in hierarchical order. */ imports: FileEvalStats[]; /** * All files imported at this pointer */ files: Set<string>; dur: number; totalExpressions: number; } export interface FileEvalStats { file: string; dur: number; expressions: number; totalExpressions: number; /** * Files and in which expression pointers the file is used */ files: Map<string, Set<string>>; /** * For each expression in this file the detailed evaluation stats. * The key is the current json-pointer of where the expression was defined in this file. */ evaluated: Map<string, ExprEvalStats>; } export declare const walkStats: (fileEvalStats: FileEvalStats, parents?: [sourcePointer: string, fileEvalStats: FileEvalStats][]) => string[];