@oaklean/profiler-core
Version:
Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec
16 lines (15 loc) • 604 B
TypeScript
import { UnifiedPath } from '../system/UnifiedPath';
import { IPerformanceHelper } from '../types/helper/PerformanceHelper';
export declare class PerformanceHelper {
private _measures;
private _firstMeasure;
private _lastMeasure;
constructor();
static loadFromFile(path: UnifiedPath): IPerformanceHelper;
static storeToFile(path: UnifiedPath, data: IPerformanceHelper): void;
exportAndSum(path: UnifiedPath): void;
start(name: string): void;
stop(name: string): void;
static printAccumulatedReport(path: UnifiedPath): void;
printReport(title: string): void;
}