UNPKG

@nitedani/inspector-api

Version:

A simple node module to access V8 inspector + some tools to export and read the data.

15 lines (14 loc) 442 B
/// <reference types="node" /> import { Session } from "inspector"; import { PassThrough } from "stream"; export default class Heap { session: Session; constructor(session: Session); enable(): Promise<void>; disable(): Promise<void>; startSampling(): Promise<void>; stopSampling(): Promise<unknown>; startTimeline(): Promise<void>; stopTimeline(): PassThrough; takeSnapshot(): PassThrough; }