UNPKG

@beincom/node-profile

Version:

``` npm install @beincom/node-profile # yarn add @beincom/node-profile ```

9 lines (8 loc) 299 B
import { ProfileExport } from '../exporters'; export interface Profiler<TStartArgs> { getLabels(): Record<string, number | string>; setLabels(labels: Record<string, number | string>): void; start(args: TStartArgs): void; stop(): ProfileExport | null; profile(): ProfileExport; }