@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
11 lines • 425 B
TypeScript
export declare enum ProfileThread {
MAIN = "main",
NETWORK = "network",
DISC5 = "discv5"
}
export declare function profileThread(thread: ProfileThread, durationMs: number, dirpath: string): Promise<string>;
/**
* Write heap snapshot of the current thread to the specified file.
*/
export declare function writeHeapSnapshot(prefix: string, dirpath: string): Promise<string>;
//# sourceMappingURL=profile.d.ts.map