package profiler

Import Path
	github.com/chromedp/cdproto/profiler (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files easyjson.go events.go Package profiler provides the Chrome DevTools Protocol commands, types, and events for the Profiler domain. Generated by the cdproto-gen command. types.go
Package-Level Type Names (total 22)
/* sort by: | */
CoverageRange coverage data for a source range. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-CoverageRange // Collected execution count of the source range. // JavaScript script source offset for the range end. // JavaScript script source offset for the range start. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface CoverageRange : github.com/goccy/go-json.Marshaler *CoverageRange : github.com/goccy/go-json.Unmarshaler CoverageRange : github.com/mailru/easyjson.Marshaler *CoverageRange : github.com/mailru/easyjson.MarshalerUnmarshaler *CoverageRange : github.com/mailru/easyjson.Unmarshaler CoverageRange : encoding/json.Marshaler *CoverageRange : encoding/json.Unmarshaler
DisableParams [no description]. Do executes Profiler.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 Profiler.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
EventConsoleProfileFinished [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#event-consoleProfileFinished ID string // Location of console.profileEnd(). Profile *Profile // Profile title passed as an argument to console.profile(). MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventConsoleProfileFinished : github.com/goccy/go-json.Marshaler *EventConsoleProfileFinished : github.com/goccy/go-json.Unmarshaler EventConsoleProfileFinished : github.com/mailru/easyjson.Marshaler *EventConsoleProfileFinished : github.com/mailru/easyjson.MarshalerUnmarshaler *EventConsoleProfileFinished : github.com/mailru/easyjson.Unmarshaler EventConsoleProfileFinished : encoding/json.Marshaler *EventConsoleProfileFinished : encoding/json.Unmarshaler
EventConsoleProfileStarted sent when new profile recording is started using console.profile() call. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#event-consoleProfileStarted ID string // Location of console.profile(). // Profile title passed as an argument to console.profile(). MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventConsoleProfileStarted : github.com/goccy/go-json.Marshaler *EventConsoleProfileStarted : github.com/goccy/go-json.Unmarshaler EventConsoleProfileStarted : github.com/mailru/easyjson.Marshaler *EventConsoleProfileStarted : github.com/mailru/easyjson.MarshalerUnmarshaler *EventConsoleProfileStarted : github.com/mailru/easyjson.Unmarshaler EventConsoleProfileStarted : encoding/json.Marshaler *EventConsoleProfileStarted : encoding/json.Unmarshaler
EventPreciseCoverageDeltaUpdate reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#event-preciseCoverageDeltaUpdate // Identifier for distinguishing coverage events. // Coverage data for the current isolate. // Monotonically increasing time (in seconds) when the coverage update was taken in the backend. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventPreciseCoverageDeltaUpdate : github.com/goccy/go-json.Marshaler *EventPreciseCoverageDeltaUpdate : github.com/goccy/go-json.Unmarshaler EventPreciseCoverageDeltaUpdate : github.com/mailru/easyjson.Marshaler *EventPreciseCoverageDeltaUpdate : github.com/mailru/easyjson.MarshalerUnmarshaler *EventPreciseCoverageDeltaUpdate : github.com/mailru/easyjson.Unmarshaler EventPreciseCoverageDeltaUpdate : encoding/json.Marshaler *EventPreciseCoverageDeltaUpdate : encoding/json.Unmarshaler
FunctionCoverage coverage data for a JavaScript function. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-FunctionCoverage // JavaScript function name. // Whether coverage data for this function has block granularity. // Source ranges inside the function with coverage data. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface FunctionCoverage : github.com/goccy/go-json.Marshaler *FunctionCoverage : github.com/goccy/go-json.Unmarshaler FunctionCoverage : github.com/mailru/easyjson.Marshaler *FunctionCoverage : github.com/mailru/easyjson.MarshalerUnmarshaler *FunctionCoverage : github.com/mailru/easyjson.Unmarshaler FunctionCoverage : encoding/json.Marshaler *FunctionCoverage : encoding/json.Unmarshaler
GetBestEffortCoverageParams collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. Do executes Profiler.getBestEffortCoverage against the provided context. returns: result - Coverage data for the current isolate. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetBestEffortCoverageParams : github.com/goccy/go-json.Marshaler *GetBestEffortCoverageParams : github.com/goccy/go-json.Unmarshaler GetBestEffortCoverageParams : github.com/mailru/easyjson.Marshaler *GetBestEffortCoverageParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetBestEffortCoverageParams : github.com/mailru/easyjson.Unmarshaler GetBestEffortCoverageParams : encoding/json.Marshaler *GetBestEffortCoverageParams : encoding/json.Unmarshaler func GetBestEffortCoverage() *GetBestEffortCoverageParams
GetBestEffortCoverageReturns return values. // Coverage data for the current isolate. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetBestEffortCoverageReturns : github.com/goccy/go-json.Marshaler *GetBestEffortCoverageReturns : github.com/goccy/go-json.Unmarshaler GetBestEffortCoverageReturns : github.com/mailru/easyjson.Marshaler *GetBestEffortCoverageReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetBestEffortCoverageReturns : github.com/mailru/easyjson.Unmarshaler GetBestEffortCoverageReturns : encoding/json.Marshaler *GetBestEffortCoverageReturns : encoding/json.Unmarshaler
PositionTickInfo specifies a number of samples attributed to a certain source position. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-PositionTickInfo // Source line number (1-based). // Number of samples attributed to the source line. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface PositionTickInfo : github.com/goccy/go-json.Marshaler *PositionTickInfo : github.com/goccy/go-json.Unmarshaler PositionTickInfo : github.com/mailru/easyjson.Marshaler *PositionTickInfo : github.com/mailru/easyjson.MarshalerUnmarshaler *PositionTickInfo : github.com/mailru/easyjson.Unmarshaler PositionTickInfo : encoding/json.Marshaler *PositionTickInfo : encoding/json.Unmarshaler
Profile Profile. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-Profile // Profiling end timestamp in microseconds. // The list of profile nodes. First item is the root node. // Ids of samples top nodes. // Profiling start timestamp in microseconds. // Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Profile : github.com/goccy/go-json.Marshaler *Profile : github.com/goccy/go-json.Unmarshaler Profile : github.com/mailru/easyjson.Marshaler *Profile : github.com/mailru/easyjson.MarshalerUnmarshaler *Profile : github.com/mailru/easyjson.Unmarshaler Profile : encoding/json.Marshaler *Profile : encoding/json.Unmarshaler func (*StopParams).Do(ctx context.Context) (profile *Profile, err error)
ProfileNode profile node. Holds callsite information, execution statistics and child nodes. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ProfileNode // Function location. // Child node ids. // The reason of being not optimized. The function may be deoptimized or marked as don't optimize. // Number of samples where this node was on top of the call stack. // Unique id of the node. // An array of source position ticks. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ProfileNode : github.com/goccy/go-json.Marshaler *ProfileNode : github.com/goccy/go-json.Unmarshaler ProfileNode : github.com/mailru/easyjson.Marshaler *ProfileNode : github.com/mailru/easyjson.MarshalerUnmarshaler *ProfileNode : github.com/mailru/easyjson.Unmarshaler ProfileNode : encoding/json.Marshaler *ProfileNode : encoding/json.Unmarshaler
ScriptCoverage coverage data for a JavaScript script. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage // Functions contained in the script that has coverage data. // JavaScript script id. // JavaScript script name or url. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ScriptCoverage : github.com/goccy/go-json.Marshaler *ScriptCoverage : github.com/goccy/go-json.Unmarshaler ScriptCoverage : github.com/mailru/easyjson.Marshaler *ScriptCoverage : github.com/mailru/easyjson.MarshalerUnmarshaler *ScriptCoverage : github.com/mailru/easyjson.Unmarshaler ScriptCoverage : encoding/json.Marshaler *ScriptCoverage : encoding/json.Unmarshaler func (*GetBestEffortCoverageParams).Do(ctx context.Context) (result []*ScriptCoverage, err error) func (*TakePreciseCoverageParams).Do(ctx context.Context) (result []*ScriptCoverage, timestamp float64, err error)
SetSamplingIntervalParams changes CPU profiler sampling interval. Must be called before CPU profiles recording started. // New sampling interval in microseconds. Do executes Profiler.setSamplingInterval against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SetSamplingIntervalParams : github.com/chromedp/chromedp.Action *SetSamplingIntervalParams : github.com/chromedp/chromedp.CallAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.EmulateAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.EvaluateAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.KeyAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.MouseAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.NavigateAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.PollAction *SetSamplingIntervalParams : github.com/chromedp/chromedp.QueryAction SetSamplingIntervalParams : github.com/goccy/go-json.Marshaler *SetSamplingIntervalParams : github.com/goccy/go-json.Unmarshaler SetSamplingIntervalParams : github.com/mailru/easyjson.Marshaler *SetSamplingIntervalParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetSamplingIntervalParams : github.com/mailru/easyjson.Unmarshaler SetSamplingIntervalParams : encoding/json.Marshaler *SetSamplingIntervalParams : encoding/json.Unmarshaler func SetSamplingInterval(interval int64) *SetSamplingIntervalParams
StartParams [no description]. Do executes Profiler.start against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *StartParams : github.com/chromedp/chromedp.Action *StartParams : github.com/chromedp/chromedp.CallAction *StartParams : github.com/chromedp/chromedp.EmulateAction *StartParams : github.com/chromedp/chromedp.EvaluateAction *StartParams : github.com/chromedp/chromedp.KeyAction *StartParams : github.com/chromedp/chromedp.MouseAction *StartParams : github.com/chromedp/chromedp.NavigateAction *StartParams : github.com/chromedp/chromedp.PollAction *StartParams : github.com/chromedp/chromedp.QueryAction StartParams : github.com/goccy/go-json.Marshaler *StartParams : github.com/goccy/go-json.Unmarshaler StartParams : github.com/mailru/easyjson.Marshaler *StartParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StartParams : github.com/mailru/easyjson.Unmarshaler StartParams : encoding/json.Marshaler *StartParams : encoding/json.Unmarshaler func Start() *StartParams
StartPreciseCoverageParams enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. // Allow the backend to send updates on its own initiative // Collect accurate call counts beyond simple 'covered' or 'not covered'. // Collect block-based coverage. Do executes Profiler.startPreciseCoverage against the provided context. returns: timestamp - Monotonically increasing time (in seconds) when the coverage update was taken in the backend. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithAllowTriggeredUpdates allow the backend to send updates on its own initiative. WithCallCount collect accurate call counts beyond simple 'covered' or 'not covered'. WithDetailed collect block-based coverage. StartPreciseCoverageParams : github.com/goccy/go-json.Marshaler *StartPreciseCoverageParams : github.com/goccy/go-json.Unmarshaler StartPreciseCoverageParams : github.com/mailru/easyjson.Marshaler *StartPreciseCoverageParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StartPreciseCoverageParams : github.com/mailru/easyjson.Unmarshaler StartPreciseCoverageParams : encoding/json.Marshaler *StartPreciseCoverageParams : encoding/json.Unmarshaler func StartPreciseCoverage() *StartPreciseCoverageParams func StartPreciseCoverageParams.WithAllowTriggeredUpdates(allowTriggeredUpdates bool) *StartPreciseCoverageParams func StartPreciseCoverageParams.WithCallCount(callCount bool) *StartPreciseCoverageParams func StartPreciseCoverageParams.WithDetailed(detailed bool) *StartPreciseCoverageParams
StartPreciseCoverageReturns return values. // Monotonically increasing time (in seconds) when the coverage update was taken in the backend. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface StartPreciseCoverageReturns : github.com/goccy/go-json.Marshaler *StartPreciseCoverageReturns : github.com/goccy/go-json.Unmarshaler StartPreciseCoverageReturns : github.com/mailru/easyjson.Marshaler *StartPreciseCoverageReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *StartPreciseCoverageReturns : github.com/mailru/easyjson.Unmarshaler StartPreciseCoverageReturns : encoding/json.Marshaler *StartPreciseCoverageReturns : encoding/json.Unmarshaler
StopParams [no description]. Do executes Profiler.stop against the provided context. returns: profile - Recorded profile. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface StopParams : github.com/goccy/go-json.Marshaler *StopParams : github.com/goccy/go-json.Unmarshaler StopParams : github.com/mailru/easyjson.Marshaler *StopParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StopParams : github.com/mailru/easyjson.Unmarshaler StopParams : encoding/json.Marshaler *StopParams : encoding/json.Unmarshaler func Stop() *StopParams
StopPreciseCoverageParams disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. Do executes Profiler.stopPreciseCoverage against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *StopPreciseCoverageParams : github.com/chromedp/chromedp.Action *StopPreciseCoverageParams : github.com/chromedp/chromedp.CallAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.EmulateAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.EvaluateAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.KeyAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.MouseAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.NavigateAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.PollAction *StopPreciseCoverageParams : github.com/chromedp/chromedp.QueryAction StopPreciseCoverageParams : github.com/goccy/go-json.Marshaler *StopPreciseCoverageParams : github.com/goccy/go-json.Unmarshaler StopPreciseCoverageParams : github.com/mailru/easyjson.Marshaler *StopPreciseCoverageParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StopPreciseCoverageParams : github.com/mailru/easyjson.Unmarshaler StopPreciseCoverageParams : encoding/json.Marshaler *StopPreciseCoverageParams : encoding/json.Unmarshaler func StopPreciseCoverage() *StopPreciseCoverageParams
StopReturns return values. // Recorded profile. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface StopReturns : github.com/goccy/go-json.Marshaler *StopReturns : github.com/goccy/go-json.Unmarshaler StopReturns : github.com/mailru/easyjson.Marshaler *StopReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *StopReturns : github.com/mailru/easyjson.Unmarshaler StopReturns : encoding/json.Marshaler *StopReturns : encoding/json.Unmarshaler
TakePreciseCoverageParams collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. Do executes Profiler.takePreciseCoverage against the provided context. returns: result - Coverage data for the current isolate. timestamp - Monotonically increasing time (in seconds) when the coverage update was taken in the backend. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface TakePreciseCoverageParams : github.com/goccy/go-json.Marshaler *TakePreciseCoverageParams : github.com/goccy/go-json.Unmarshaler TakePreciseCoverageParams : github.com/mailru/easyjson.Marshaler *TakePreciseCoverageParams : github.com/mailru/easyjson.MarshalerUnmarshaler *TakePreciseCoverageParams : github.com/mailru/easyjson.Unmarshaler TakePreciseCoverageParams : encoding/json.Marshaler *TakePreciseCoverageParams : encoding/json.Unmarshaler func TakePreciseCoverage() *TakePreciseCoverageParams
TakePreciseCoverageReturns return values. // Coverage data for the current isolate. // Monotonically increasing time (in seconds) when the coverage update was taken in the backend. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface TakePreciseCoverageReturns : github.com/goccy/go-json.Marshaler *TakePreciseCoverageReturns : github.com/goccy/go-json.Unmarshaler TakePreciseCoverageReturns : github.com/mailru/easyjson.Marshaler *TakePreciseCoverageReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *TakePreciseCoverageReturns : github.com/mailru/easyjson.Unmarshaler TakePreciseCoverageReturns : encoding/json.Marshaler *TakePreciseCoverageReturns : encoding/json.Unmarshaler
Package-Level Functions (total 9)
GetBestEffortCoverage collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#method-getBestEffortCoverage
SetSamplingInterval changes CPU profiler sampling interval. Must be called before CPU profiles recording started. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#method-setSamplingInterval parameters: interval - New sampling interval in microseconds.
StartPreciseCoverage enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#method-startPreciseCoverage parameters:
StopPreciseCoverage disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#method-stopPreciseCoverage
TakePreciseCoverage collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. See: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#method-takePreciseCoverage
Package-Level Constants (total 9)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.