Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Profiler.Profile

Headless Chrome Deno API
Latest
interface Protocol.Profiler.Profile
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { Profile } = Protocol.Profiler;

Profile.

Properties

nodes: ProfileNode[]

The list of profile nodes. First item is the root node.

startTime: number

Profiling start timestamp in microseconds.

endTime: number

Profiling end timestamp in microseconds.

optional
samples: integer[]

Ids of samples top nodes.

optional
timeDeltas: integer[]

Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.