package performance

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

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files easyjson.go events.go Package performance provides the Chrome DevTools Protocol commands, types, and events for the Performance domain. Generated by the cdproto-gen command. types.go
Package-Level Type Names (total 7)
/* sort by: | */
DisableParams disable collecting and reporting metrics. Do executes Performance.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 enable collecting and reporting metrics. // Time domain to use for collecting and reporting duration metrics. Do executes Performance.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 WithTimeDomain time domain to use for collecting and reporting duration metrics. *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 func EnableParams.WithTimeDomain(timeDomain EnableTimeDomain) *EnableParams
EnableTimeDomain time domain to use for collecting and reporting duration metrics. See: https://chromedevtools.github.io/devtools-protocol/tot/Performance#method-enable MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the EnableTimeDomain as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. EnableTimeDomain : github.com/goccy/go-json.Marshaler *EnableTimeDomain : github.com/goccy/go-json.Unmarshaler EnableTimeDomain : github.com/mailru/easyjson.Marshaler *EnableTimeDomain : github.com/mailru/easyjson.MarshalerUnmarshaler *EnableTimeDomain : github.com/mailru/easyjson.Unmarshaler EnableTimeDomain : encoding/json.Marshaler *EnableTimeDomain : encoding/json.Unmarshaler EnableTimeDomain : expvar.Var EnableTimeDomain : fmt.Stringer func EnableParams.WithTimeDomain(timeDomain EnableTimeDomain) *EnableParams const EnableTimeDomainThreadTicks const EnableTimeDomainTimeTicks
EventMetrics current values of the metrics. See: https://chromedevtools.github.io/devtools-protocol/tot/Performance#event-metrics // Current values of the metrics. // Timestamp title. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventMetrics : github.com/goccy/go-json.Marshaler *EventMetrics : github.com/goccy/go-json.Unmarshaler EventMetrics : github.com/mailru/easyjson.Marshaler *EventMetrics : github.com/mailru/easyjson.MarshalerUnmarshaler *EventMetrics : github.com/mailru/easyjson.Unmarshaler EventMetrics : encoding/json.Marshaler *EventMetrics : encoding/json.Unmarshaler
GetMetricsParams retrieve current values of run-time metrics. Do executes Performance.getMetrics against the provided context. returns: metrics - Current values for run-time metrics. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetMetricsParams : github.com/goccy/go-json.Marshaler *GetMetricsParams : github.com/goccy/go-json.Unmarshaler GetMetricsParams : github.com/mailru/easyjson.Marshaler *GetMetricsParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetMetricsParams : github.com/mailru/easyjson.Unmarshaler GetMetricsParams : encoding/json.Marshaler *GetMetricsParams : encoding/json.Unmarshaler func GetMetrics() *GetMetricsParams
GetMetricsReturns return values. // Current values for run-time metrics. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetMetricsReturns : github.com/goccy/go-json.Marshaler *GetMetricsReturns : github.com/goccy/go-json.Unmarshaler GetMetricsReturns : github.com/mailru/easyjson.Marshaler *GetMetricsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetMetricsReturns : github.com/mailru/easyjson.Unmarshaler GetMetricsReturns : encoding/json.Marshaler *GetMetricsReturns : encoding/json.Unmarshaler
Metric run-time execution metric. See: https://chromedevtools.github.io/devtools-protocol/tot/Performance#type-Metric // Metric name. // Metric value. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Metric : github.com/goccy/go-json.Marshaler *Metric : github.com/goccy/go-json.Unmarshaler Metric : github.com/mailru/easyjson.Marshaler *Metric : github.com/mailru/easyjson.MarshalerUnmarshaler *Metric : github.com/mailru/easyjson.Unmarshaler Metric : encoding/json.Marshaler *Metric : encoding/json.Unmarshaler func (*GetMetricsParams).Do(ctx context.Context) (metrics []*Metric, err error)
Package-Level Functions (total 3)
Enable enable collecting and reporting metrics. See: https://chromedevtools.github.io/devtools-protocol/tot/Performance#method-enable parameters:
Package-Level Constants (total 5)
Command names.
Command names.
Command names.
EnableTimeDomain values.
EnableTimeDomain values.