Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Tracing

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
namespace Protocol.Tracing
import { Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { Tracing } = Protocol;

Interfaces

Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.

Configuration for memory dump. Used only when "memory-infra" category is enabled.

Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

Type Aliases

Details exposed when memory request explicitly declared. Keep consistent with memory_dump_request_args.h and memory_instrumentation.mojom

Compression type to use for traces returned via streams.

Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.

Backend type to use for tracing. chrome uses the Chrome-integrated tracing service and is supported on all platforms. system is only supported on Chrome OS and uses the Perfetto system tracing service. auto chooses system when the perfettoConfig provided to Tracing.start specifies at least one non-Chrome data source; otherwise uses chrome.