Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.HeapProfiler.HeapStatsUpdateEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { HeapStatsUpdateEvent } = Protocol.HeapProfiler;

If heap objects tracking has been started then backend may send update for one or more fragments

Properties

statsUpdate: integer[]

An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.