package
0.0.0-20250224005500-01948a15fe7c
Repository: https://github.com/chromedp/cdproto.git
Documentation: pkg.go.dev

# Functions

ForciblyPurgeJavaScriptMemory simulate OomIntervention by purging V8 memory.
GetAllTimeSamplingProfile retrieve native memory allocations profile collected since renderer process startup.
GetBrowserSamplingProfile retrieve native memory allocations profile collected since browser process startup.
GetDOMCounters retruns current DOM object counters.
GetDOMCountersForLeakDetection retruns DOM object counters after preparing renderer for leak detection.
GetSamplingProfile retrieve native memory allocations profile collected since last startSampling call.
PrepareForLeakDetection prepares for leak detection by terminating workers, stopping spellcheckers, dropping non-essential internal caches, running garbage collections, etc.
SetPressureNotificationsSuppressed enable/disable suppressing memory pressure notifications in all processes.
SimulatePressureNotification simulate a memory pressure notification in all processes.
StartSampling start collecting native memory profile.
StopSampling stop collecting native memory profile.

# Constants

# Structs

DOMCounter DOM object counter data.
ForciblyPurgeJavaScriptMemoryParams simulate OomIntervention by purging V8 memory.
GetAllTimeSamplingProfileParams retrieve native memory allocations profile collected since renderer process startup.
GetAllTimeSamplingProfileReturns return values.
GetBrowserSamplingProfileParams retrieve native memory allocations profile collected since browser process startup.
GetBrowserSamplingProfileReturns return values.
GetDOMCountersForLeakDetectionParams retruns DOM object counters after preparing renderer for leak detection.
GetDOMCountersForLeakDetectionReturns return values.
GetDOMCountersParams retruns current DOM object counters.
GetDOMCountersReturns return values.
GetSamplingProfileParams retrieve native memory allocations profile collected since last startSampling call.
GetSamplingProfileReturns return values.
Module executable module information.
PrepareForLeakDetectionParams prepares for leak detection by terminating workers, stopping spellcheckers, dropping non-essential internal caches, running garbage collections, etc.
SamplingProfile array of heap profile samples.
SamplingProfileNode heap profile sample.
SetPressureNotificationsSuppressedParams enable/disable suppressing memory pressure notifications in all processes.
SimulatePressureNotificationParams simulate a memory pressure notification in all processes.
StartSamplingParams start collecting native memory profile.
StopSamplingParams stop collecting native memory profile.

# Type aliases

PressureLevel memory pressure level.