performance

package
v1.0.0-rc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2019 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package performance provides type definitions for use with the Chrome Performance protocol

https://chromedevtools.github.io/devtools-protocol/tot/Performance/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisableResult

type DisableResult struct {
	// Error information related to executing this method
	Err error `json:"-"`
}

DisableResult represents the result of calls to Performance.disable.

https://chromedevtools.github.io/devtools-protocol/tot/Performance/#method-disable

type EnableResult

type EnableResult struct {
	// Error information related to executing this method
	Err error `json:"-"`
}

EnableResult represents the result of calls to Performance.enable.

https://chromedevtools.github.io/devtools-protocol/tot/Performance/#method-enable

type GetMetricsResult

type GetMetricsResult struct {
	// Current values for run-time metrics.
	Metrics []*Metric `json:"metrics"`

	// Error information related to executing this method
	Err error `json:"-"`
}

GetMetricsResult represents the result of calls to Performance.getMetrics.

https://chromedevtools.github.io/devtools-protocol/tot/Performance/#method-getMetrics

type Metric

type Metric struct {
	// Metric name.
	Name string `json:"name"`

	// Metric value.
	Value int `json:"value"`
}

Metric is a run-time execution metric.

https://chromedevtools.github.io/devtools-protocol/tot/Performance/#type-Metric

type MetricsEvent

type MetricsEvent struct {
	// Current values of the metrics.
	Metrics []*Metric `json:"metrics"`

	// Timestamp title.
	Title string `json:"title"`

	// Error information related to this event
	Err error `json:"-"`
}

MetricsEvent represents Performance.metrics event data.

https://chromedevtools.github.io/devtools-protocol/tot/Performance/#event-metrics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL