package heapprofiler
Import Path
github.com/chromedp/cdproto/heapprofiler (on go.dev)
Dependency Relation
imports 7 packages, and imported by one package
Involved Source Files
easyjson.go
events.go
Package heapprofiler provides the Chrome DevTools Protocol
commands, types, and events for the HeapProfiler domain.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 25)
AddInspectedHeapObjectParams enables console to refer to the node with
given id via $x (see Command Line API for more details $x functions).
// Heap snapshot object id to be accessible by means of $x command line API.
Do executes HeapProfiler.addInspectedHeapObject against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.Action
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.CallAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.EmulateAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.EvaluateAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.KeyAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.MouseAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.NavigateAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.PollAction
*AddInspectedHeapObjectParams : github.com/chromedp/chromedp.QueryAction
AddInspectedHeapObjectParams : github.com/goccy/go-json.Marshaler
*AddInspectedHeapObjectParams : github.com/goccy/go-json.Unmarshaler
AddInspectedHeapObjectParams : github.com/mailru/easyjson.Marshaler
*AddInspectedHeapObjectParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*AddInspectedHeapObjectParams : github.com/mailru/easyjson.Unmarshaler
AddInspectedHeapObjectParams : encoding/json.Marshaler
*AddInspectedHeapObjectParams : encoding/json.Unmarshaler
func AddInspectedHeapObject(heapObjectID HeapSnapshotObjectID) *AddInspectedHeapObjectParams
CollectGarbageParams [no description].
Do executes HeapProfiler.collectGarbage against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*CollectGarbageParams : github.com/chromedp/chromedp.Action
*CollectGarbageParams : github.com/chromedp/chromedp.CallAction
*CollectGarbageParams : github.com/chromedp/chromedp.EmulateAction
*CollectGarbageParams : github.com/chromedp/chromedp.EvaluateAction
*CollectGarbageParams : github.com/chromedp/chromedp.KeyAction
*CollectGarbageParams : github.com/chromedp/chromedp.MouseAction
*CollectGarbageParams : github.com/chromedp/chromedp.NavigateAction
*CollectGarbageParams : github.com/chromedp/chromedp.PollAction
*CollectGarbageParams : github.com/chromedp/chromedp.QueryAction
CollectGarbageParams : github.com/goccy/go-json.Marshaler
*CollectGarbageParams : github.com/goccy/go-json.Unmarshaler
CollectGarbageParams : github.com/mailru/easyjson.Marshaler
*CollectGarbageParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CollectGarbageParams : github.com/mailru/easyjson.Unmarshaler
CollectGarbageParams : encoding/json.Marshaler
*CollectGarbageParams : encoding/json.Unmarshaler
func CollectGarbage() *CollectGarbageParams
DisableParams [no description].
Do executes HeapProfiler.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
EnableParams [no description].
Do executes HeapProfiler.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
EventAddHeapSnapshotChunk [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-addHeapSnapshotChunk
Chunk string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventAddHeapSnapshotChunk : github.com/goccy/go-json.Marshaler
*EventAddHeapSnapshotChunk : github.com/goccy/go-json.Unmarshaler
EventAddHeapSnapshotChunk : github.com/mailru/easyjson.Marshaler
*EventAddHeapSnapshotChunk : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventAddHeapSnapshotChunk : github.com/mailru/easyjson.Unmarshaler
EventAddHeapSnapshotChunk : encoding/json.Marshaler
*EventAddHeapSnapshotChunk : encoding/json.Unmarshaler
EventHeapStatsUpdate if heap objects tracking has been started then
backend may send update for one or more fragments.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-heapStatsUpdate
// 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.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventHeapStatsUpdate : github.com/goccy/go-json.Marshaler
*EventHeapStatsUpdate : github.com/goccy/go-json.Unmarshaler
EventHeapStatsUpdate : github.com/mailru/easyjson.Marshaler
*EventHeapStatsUpdate : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventHeapStatsUpdate : github.com/mailru/easyjson.Unmarshaler
EventHeapStatsUpdate : encoding/json.Marshaler
*EventHeapStatsUpdate : encoding/json.Unmarshaler
EventLastSeenObjectID if heap objects tracking has been started then
backend regularly sends a current value for last seen object id and
corresponding timestamp. If the were changes in the heap since last event
then one or more heapStatsUpdate events will be sent before a new
lastSeenObjectId event.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-lastSeenObjectId
LastSeenObjectID int64
Timestamp float64
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLastSeenObjectID : github.com/goccy/go-json.Marshaler
*EventLastSeenObjectID : github.com/goccy/go-json.Unmarshaler
EventLastSeenObjectID : github.com/mailru/easyjson.Marshaler
*EventLastSeenObjectID : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLastSeenObjectID : github.com/mailru/easyjson.Unmarshaler
EventLastSeenObjectID : encoding/json.Marshaler
*EventLastSeenObjectID : encoding/json.Unmarshaler
EventReportHeapSnapshotProgress [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-reportHeapSnapshotProgress
Done int64
Finished bool
Total int64
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventReportHeapSnapshotProgress : github.com/goccy/go-json.Marshaler
*EventReportHeapSnapshotProgress : github.com/goccy/go-json.Unmarshaler
EventReportHeapSnapshotProgress : github.com/mailru/easyjson.Marshaler
*EventReportHeapSnapshotProgress : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventReportHeapSnapshotProgress : github.com/mailru/easyjson.Unmarshaler
EventReportHeapSnapshotProgress : encoding/json.Marshaler
*EventReportHeapSnapshotProgress : encoding/json.Unmarshaler
EventResetProfiles [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-resetProfiles
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventResetProfiles : github.com/goccy/go-json.Marshaler
*EventResetProfiles : github.com/goccy/go-json.Unmarshaler
EventResetProfiles : github.com/mailru/easyjson.Marshaler
*EventResetProfiles : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventResetProfiles : github.com/mailru/easyjson.Unmarshaler
EventResetProfiles : encoding/json.Marshaler
*EventResetProfiles : encoding/json.Unmarshaler
GetHeapObjectIDParams [no description].
// Identifier of the object to release.
Do executes HeapProfiler.getHeapObjectId against the provided context.
returns:
heapSnapshotObjectID - Id of the heap snapshot object corresponding to the passed remote object id.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetHeapObjectIDParams : github.com/goccy/go-json.Marshaler
*GetHeapObjectIDParams : github.com/goccy/go-json.Unmarshaler
GetHeapObjectIDParams : github.com/mailru/easyjson.Marshaler
*GetHeapObjectIDParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetHeapObjectIDParams : github.com/mailru/easyjson.Unmarshaler
GetHeapObjectIDParams : encoding/json.Marshaler
*GetHeapObjectIDParams : encoding/json.Unmarshaler
func GetHeapObjectID(objectID runtime.RemoteObjectID) *GetHeapObjectIDParams
GetHeapObjectIDReturns return values.
// Id of the heap snapshot object corresponding to the passed remote object id.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetHeapObjectIDReturns : github.com/goccy/go-json.Marshaler
*GetHeapObjectIDReturns : github.com/goccy/go-json.Unmarshaler
GetHeapObjectIDReturns : github.com/mailru/easyjson.Marshaler
*GetHeapObjectIDReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetHeapObjectIDReturns : github.com/mailru/easyjson.Unmarshaler
GetHeapObjectIDReturns : encoding/json.Marshaler
*GetHeapObjectIDReturns : encoding/json.Unmarshaler
GetObjectByHeapObjectIDParams [no description].
// Symbolic group name that can be used to release multiple objects.
ObjectID HeapSnapshotObjectID
Do executes HeapProfiler.getObjectByHeapObjectId against the provided context.
returns:
result - Evaluation result.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithObjectGroup symbolic group name that can be used to release multiple
objects.
GetObjectByHeapObjectIDParams : github.com/goccy/go-json.Marshaler
*GetObjectByHeapObjectIDParams : github.com/goccy/go-json.Unmarshaler
GetObjectByHeapObjectIDParams : github.com/mailru/easyjson.Marshaler
*GetObjectByHeapObjectIDParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetObjectByHeapObjectIDParams : github.com/mailru/easyjson.Unmarshaler
GetObjectByHeapObjectIDParams : encoding/json.Marshaler
*GetObjectByHeapObjectIDParams : encoding/json.Unmarshaler
func GetObjectByHeapObjectID(objectID HeapSnapshotObjectID) *GetObjectByHeapObjectIDParams
func GetObjectByHeapObjectIDParams.WithObjectGroup(objectGroup string) *GetObjectByHeapObjectIDParams
GetObjectByHeapObjectIDReturns return values.
// Evaluation result.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetObjectByHeapObjectIDReturns : github.com/goccy/go-json.Marshaler
*GetObjectByHeapObjectIDReturns : github.com/goccy/go-json.Unmarshaler
GetObjectByHeapObjectIDReturns : github.com/mailru/easyjson.Marshaler
*GetObjectByHeapObjectIDReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetObjectByHeapObjectIDReturns : github.com/mailru/easyjson.Unmarshaler
GetObjectByHeapObjectIDReturns : encoding/json.Marshaler
*GetObjectByHeapObjectIDReturns : encoding/json.Unmarshaler
GetSamplingProfileParams [no description].
Do executes HeapProfiler.getSamplingProfile against the provided context.
returns:
profile - Return the sampling profile being collected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetSamplingProfileParams : github.com/goccy/go-json.Marshaler
*GetSamplingProfileParams : github.com/goccy/go-json.Unmarshaler
GetSamplingProfileParams : github.com/mailru/easyjson.Marshaler
*GetSamplingProfileParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetSamplingProfileParams : github.com/mailru/easyjson.Unmarshaler
GetSamplingProfileParams : encoding/json.Marshaler
*GetSamplingProfileParams : encoding/json.Unmarshaler
func GetSamplingProfile() *GetSamplingProfileParams
GetSamplingProfileReturns return values.
// Return the sampling profile being collected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetSamplingProfileReturns : github.com/goccy/go-json.Marshaler
*GetSamplingProfileReturns : github.com/goccy/go-json.Unmarshaler
GetSamplingProfileReturns : github.com/mailru/easyjson.Marshaler
*GetSamplingProfileReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetSamplingProfileReturns : github.com/mailru/easyjson.Unmarshaler
GetSamplingProfileReturns : encoding/json.Marshaler
*GetSamplingProfileReturns : encoding/json.Unmarshaler
HeapSnapshotObjectID heap snapshot object id.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#type-HeapSnapshotObjectId
String returns the HeapSnapshotObjectID as string value.
HeapSnapshotObjectID : expvar.Var
HeapSnapshotObjectID : fmt.Stringer
func (*GetHeapObjectIDParams).Do(ctx context.Context) (heapSnapshotObjectID HeapSnapshotObjectID, err error)
func AddInspectedHeapObject(heapObjectID HeapSnapshotObjectID) *AddInspectedHeapObjectParams
func GetObjectByHeapObjectID(objectID HeapSnapshotObjectID) *GetObjectByHeapObjectIDParams
SamplingHeapProfile sampling profile.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#type-SamplingHeapProfile
Head *SamplingHeapProfileNode
Samples []*SamplingHeapProfileSample
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SamplingHeapProfile : github.com/goccy/go-json.Marshaler
*SamplingHeapProfile : github.com/goccy/go-json.Unmarshaler
SamplingHeapProfile : github.com/mailru/easyjson.Marshaler
*SamplingHeapProfile : github.com/mailru/easyjson.MarshalerUnmarshaler
*SamplingHeapProfile : github.com/mailru/easyjson.Unmarshaler
SamplingHeapProfile : encoding/json.Marshaler
*SamplingHeapProfile : encoding/json.Unmarshaler
func (*GetSamplingProfileParams).Do(ctx context.Context) (profile *SamplingHeapProfile, err error)
func (*StopSamplingParams).Do(ctx context.Context) (profile *SamplingHeapProfile, err error)
SamplingHeapProfileNode sampling Heap Profile node. Holds callsite
information, allocation statistics and child nodes.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#type-SamplingHeapProfileNode
// Function location.
// Child nodes.
// Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
// Allocations size in bytes for the node excluding children.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SamplingHeapProfileNode : github.com/goccy/go-json.Marshaler
*SamplingHeapProfileNode : github.com/goccy/go-json.Unmarshaler
SamplingHeapProfileNode : github.com/mailru/easyjson.Marshaler
*SamplingHeapProfileNode : github.com/mailru/easyjson.MarshalerUnmarshaler
*SamplingHeapProfileNode : github.com/mailru/easyjson.Unmarshaler
SamplingHeapProfileNode : encoding/json.Marshaler
*SamplingHeapProfileNode : encoding/json.Unmarshaler
SamplingHeapProfileSample a single sample from a sampling profile.
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#type-SamplingHeapProfileSample
// Id of the corresponding profile tree node.
// Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.
// Allocation size in bytes attributed to the sample.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SamplingHeapProfileSample : github.com/goccy/go-json.Marshaler
*SamplingHeapProfileSample : github.com/goccy/go-json.Unmarshaler
SamplingHeapProfileSample : github.com/mailru/easyjson.Marshaler
*SamplingHeapProfileSample : github.com/mailru/easyjson.MarshalerUnmarshaler
*SamplingHeapProfileSample : github.com/mailru/easyjson.Unmarshaler
SamplingHeapProfileSample : encoding/json.Marshaler
*SamplingHeapProfileSample : encoding/json.Unmarshaler
StartSamplingParams [no description].
// 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.
// 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.
// Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
Do executes HeapProfiler.startSampling against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithIncludeObjectsCollectedByMajorGC 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.
WithIncludeObjectsCollectedByMinorGC 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.
WithSamplingInterval average sample interval in bytes. Poisson
distribution is used for the intervals. The default value is 32768 bytes.
*StartSamplingParams : github.com/chromedp/chromedp.Action
*StartSamplingParams : github.com/chromedp/chromedp.CallAction
*StartSamplingParams : github.com/chromedp/chromedp.EmulateAction
*StartSamplingParams : github.com/chromedp/chromedp.EvaluateAction
*StartSamplingParams : github.com/chromedp/chromedp.KeyAction
*StartSamplingParams : github.com/chromedp/chromedp.MouseAction
*StartSamplingParams : github.com/chromedp/chromedp.NavigateAction
*StartSamplingParams : github.com/chromedp/chromedp.PollAction
*StartSamplingParams : github.com/chromedp/chromedp.QueryAction
StartSamplingParams : github.com/goccy/go-json.Marshaler
*StartSamplingParams : github.com/goccy/go-json.Unmarshaler
StartSamplingParams : github.com/mailru/easyjson.Marshaler
*StartSamplingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StartSamplingParams : github.com/mailru/easyjson.Unmarshaler
StartSamplingParams : encoding/json.Marshaler
*StartSamplingParams : encoding/json.Unmarshaler
func StartSampling() *StartSamplingParams
func StartSamplingParams.WithIncludeObjectsCollectedByMajorGC(includeObjectsCollectedByMajorGC bool) *StartSamplingParams
func StartSamplingParams.WithIncludeObjectsCollectedByMinorGC(includeObjectsCollectedByMinorGC bool) *StartSamplingParams
func StartSamplingParams.WithSamplingInterval(samplingInterval float64) *StartSamplingParams
StartTrackingHeapObjectsParams [no description].
TrackAllocations bool
Do executes HeapProfiler.startTrackingHeapObjects against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithTrackAllocations [no description].
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.Action
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.CallAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.EmulateAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.EvaluateAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.KeyAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.MouseAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.NavigateAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.PollAction
*StartTrackingHeapObjectsParams : github.com/chromedp/chromedp.QueryAction
StartTrackingHeapObjectsParams : github.com/goccy/go-json.Marshaler
*StartTrackingHeapObjectsParams : github.com/goccy/go-json.Unmarshaler
StartTrackingHeapObjectsParams : github.com/mailru/easyjson.Marshaler
*StartTrackingHeapObjectsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StartTrackingHeapObjectsParams : github.com/mailru/easyjson.Unmarshaler
StartTrackingHeapObjectsParams : encoding/json.Marshaler
*StartTrackingHeapObjectsParams : encoding/json.Unmarshaler
func StartTrackingHeapObjects() *StartTrackingHeapObjectsParams
func StartTrackingHeapObjectsParams.WithTrackAllocations(trackAllocations bool) *StartTrackingHeapObjectsParams
StopSamplingParams [no description].
Do executes HeapProfiler.stopSampling against the provided context.
returns:
profile - Recorded sampling heap profile.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StopSamplingParams : github.com/goccy/go-json.Marshaler
*StopSamplingParams : github.com/goccy/go-json.Unmarshaler
StopSamplingParams : github.com/mailru/easyjson.Marshaler
*StopSamplingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopSamplingParams : github.com/mailru/easyjson.Unmarshaler
StopSamplingParams : encoding/json.Marshaler
*StopSamplingParams : encoding/json.Unmarshaler
func StopSampling() *StopSamplingParams
StopSamplingReturns return values.
// Return the sampling profile being collected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StopSamplingReturns : github.com/goccy/go-json.Marshaler
*StopSamplingReturns : github.com/goccy/go-json.Unmarshaler
StopSamplingReturns : github.com/mailru/easyjson.Marshaler
*StopSamplingReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopSamplingReturns : github.com/mailru/easyjson.Unmarshaler
StopSamplingReturns : encoding/json.Marshaler
*StopSamplingReturns : encoding/json.Unmarshaler
StopTrackingHeapObjectsParams [no description].
// If true, numerical values are included in the snapshot
// If true, exposes internals of the snapshot.
// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
Do executes HeapProfiler.stopTrackingHeapObjects against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCaptureNumericValue if true, numerical values are included in the
snapshot.
WithExposeInternals if true, exposes internals of the snapshot.
WithReportProgress if true 'reportHeapSnapshotProgress' events will be
generated while snapshot is being taken when the tracking is stopped.
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.Action
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.CallAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.EmulateAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.EvaluateAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.KeyAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.MouseAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.NavigateAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.PollAction
*StopTrackingHeapObjectsParams : github.com/chromedp/chromedp.QueryAction
StopTrackingHeapObjectsParams : github.com/goccy/go-json.Marshaler
*StopTrackingHeapObjectsParams : github.com/goccy/go-json.Unmarshaler
StopTrackingHeapObjectsParams : github.com/mailru/easyjson.Marshaler
*StopTrackingHeapObjectsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopTrackingHeapObjectsParams : github.com/mailru/easyjson.Unmarshaler
StopTrackingHeapObjectsParams : encoding/json.Marshaler
*StopTrackingHeapObjectsParams : encoding/json.Unmarshaler
func StopTrackingHeapObjects() *StopTrackingHeapObjectsParams
func StopTrackingHeapObjectsParams.WithCaptureNumericValue(captureNumericValue bool) *StopTrackingHeapObjectsParams
func StopTrackingHeapObjectsParams.WithExposeInternals(exposeInternals bool) *StopTrackingHeapObjectsParams
func StopTrackingHeapObjectsParams.WithReportProgress(reportProgress bool) *StopTrackingHeapObjectsParams
TakeHeapSnapshotParams [no description].
// If true, numerical values are included in the snapshot
// If true, exposes internals of the snapshot.
// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
Do executes HeapProfiler.takeHeapSnapshot against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCaptureNumericValue if true, numerical values are included in the
snapshot.
WithExposeInternals if true, exposes internals of the snapshot.
WithReportProgress if true 'reportHeapSnapshotProgress' events will be
generated while snapshot is being taken.
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.Action
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.CallAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.EmulateAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.EvaluateAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.KeyAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.MouseAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.NavigateAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.PollAction
*TakeHeapSnapshotParams : github.com/chromedp/chromedp.QueryAction
TakeHeapSnapshotParams : github.com/goccy/go-json.Marshaler
*TakeHeapSnapshotParams : github.com/goccy/go-json.Unmarshaler
TakeHeapSnapshotParams : github.com/mailru/easyjson.Marshaler
*TakeHeapSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*TakeHeapSnapshotParams : github.com/mailru/easyjson.Unmarshaler
TakeHeapSnapshotParams : encoding/json.Marshaler
*TakeHeapSnapshotParams : encoding/json.Unmarshaler
func TakeHeapSnapshot() *TakeHeapSnapshotParams
func TakeHeapSnapshotParams.WithCaptureNumericValue(captureNumericValue bool) *TakeHeapSnapshotParams
func TakeHeapSnapshotParams.WithExposeInternals(exposeInternals bool) *TakeHeapSnapshotParams
func TakeHeapSnapshotParams.WithReportProgress(reportProgress bool) *TakeHeapSnapshotParams
Package-Level Functions (total 12)
AddInspectedHeapObject enables console to refer to the node with given id
via $x (see Command Line API for more details $x functions).
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-addInspectedHeapObject
parameters:
heapObjectID - Heap snapshot object id to be accessible by means of $x command line API.
CollectGarbage [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-collectGarbage
Disable [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-disable
Enable [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-enable
GetHeapObjectID [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-getHeapObjectId
parameters:
objectID - Identifier of the object to get heap object id for.
GetObjectByHeapObjectID [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-getObjectByHeapObjectId
parameters:
objectID
GetSamplingProfile [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-getSamplingProfile
StartSampling [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-startSampling
parameters:
StartTrackingHeapObjects [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-startTrackingHeapObjects
parameters:
StopSampling [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-stopSampling
StopTrackingHeapObjects [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-stopTrackingHeapObjects
parameters:
TakeHeapSnapshot [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#method-takeHeapSnapshot
parameters:
Package-Level Constants (total 12)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |