cdp-0.0.2.0: A library for the Chrome Devtools Protocol
Safe HaskellNone
LanguageHaskell2010

CDP.Domains.HeapProfiler

Description

HeapProfiler

Synopsis

Documentation

data PHeapProfilerTakeHeapSnapshot Source #

Parameters of the takeHeapSnapshot command.

Constructors

PHeapProfilerTakeHeapSnapshot 

Fields

data PHeapProfilerStopTrackingHeapObjects Source #

Parameters of the stopTrackingHeapObjects command.

Constructors

PHeapProfilerStopTrackingHeapObjects 

Fields

Instances

Instances details
Eq PHeapProfilerStopTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Show PHeapProfilerStopTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

ToJSON PHeapProfilerStopTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Command PHeapProfilerStopTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

type CommandResponse PHeapProfilerStopTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

data PHeapProfilerStartTrackingHeapObjects Source #

Parameters of the startTrackingHeapObjects command.

Instances

Instances details
Eq PHeapProfilerStartTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Show PHeapProfilerStartTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

ToJSON PHeapProfilerStartTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Command PHeapProfilerStartTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

type CommandResponse PHeapProfilerStartTrackingHeapObjects Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

data PHeapProfilerStartSampling Source #

Parameters of the startSampling command.

Constructors

PHeapProfilerStartSampling 

Fields

  • pHeapProfilerStartSamplingSamplingInterval :: Maybe Double

    Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.

  • pHeapProfilerStartSamplingIncludeObjectsCollectedByMajorGC :: Maybe Bool

    By default, the sampling heap profiler reports only objects which are still alive when the profile is returned via getSamplingProfile or stopSampling, which is useful for determining what functions contribute the most to steady-state memory usage. This flag instructs the sampling heap profiler to also include information about objects discarded by major GC, which will show which functions cause large temporary memory usage or long GC pauses.

  • pHeapProfilerStartSamplingIncludeObjectsCollectedByMinorGC :: Maybe Bool

    By default, the sampling heap profiler reports only objects which are still alive when the profile is returned via getSamplingProfile or stopSampling, which is useful for determining what functions contribute the most to steady-state memory usage. This flag instructs the sampling heap profiler to also include information about objects discarded by minor GC, which is useful when tuning a latency-sensitive application for minimal GC activity.

data PHeapProfilerGetSamplingProfile Source #

Parameters of the getSamplingProfile command.

Instances

Instances details
Eq PHeapProfilerGetSamplingProfile Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Show PHeapProfilerGetSamplingProfile Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

ToJSON PHeapProfilerGetSamplingProfile Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Command PHeapProfilerGetSamplingProfile Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

type CommandResponse PHeapProfilerGetSamplingProfile Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

data PHeapProfilerGetObjectByHeapObjectId Source #

Parameters of the getObjectByHeapObjectId command.

Instances

Instances details
Eq PHeapProfilerGetObjectByHeapObjectId Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Show PHeapProfilerGetObjectByHeapObjectId Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

ToJSON PHeapProfilerGetObjectByHeapObjectId Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Command PHeapProfilerGetObjectByHeapObjectId Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

type CommandResponse PHeapProfilerGetObjectByHeapObjectId Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

data PHeapProfilerGetHeapObjectId Source #

Parameters of the getHeapObjectId command.

Constructors

PHeapProfilerGetHeapObjectId 

Fields

data PHeapProfilerCollectGarbage Source #

Parameters of the collectGarbage command.

data PHeapProfilerAddInspectedHeapObject Source #

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).

Parameters of the addInspectedHeapObject command.

Constructors

PHeapProfilerAddInspectedHeapObject 

Fields

Instances

Instances details
Eq PHeapProfilerAddInspectedHeapObject Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Show PHeapProfilerAddInspectedHeapObject Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

ToJSON PHeapProfilerAddInspectedHeapObject Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

Command PHeapProfilerAddInspectedHeapObject Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

type CommandResponse PHeapProfilerAddInspectedHeapObject Source # 
Instance details

Defined in CDP.Domains.HeapProfiler

data HeapProfilerHeapStatsUpdate Source #

Type of the heapStatsUpdate event.

Constructors

HeapProfilerHeapStatsUpdate 

Fields

  • heapProfilerHeapStatsUpdateStatsUpdate :: [Int]

    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.

data HeapProfilerSamplingHeapProfileSample Source #

Type SamplingHeapProfileSample. A single sample from a sampling profile.

Constructors

HeapProfilerSamplingHeapProfileSample 

Fields

data HeapProfilerSamplingHeapProfileNode Source #

Type SamplingHeapProfileNode. Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Constructors

HeapProfilerSamplingHeapProfileNode 

Fields