hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
14 lines • 526 B
TypeScript
import { TaskProfile } from "./task-profiling";
export interface Flamegraph {
name: string;
value: number;
children: Flamegraph[];
parallel: boolean;
}
export declare function profileToFlamegraph(profile: TaskProfile): Flamegraph;
export declare function createFlamegraphHtmlFile(flamegraph: Flamegraph): string;
/**
* Converts the TaskProfile into a flamegraph, saves it, and returns its path.
*/
export declare function saveFlamegraph(profile: TaskProfile): string;
//# sourceMappingURL=flamegraph.d.ts.map