pprof

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeProfiles

func MergeProfiles(w io.Writer, profiles []*profile.Profile) error

MergeProfiles writes the merged uncompressed profile into `w`.

Types

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(client *http.Client) *Fetcher

func (Fetcher) FromURL

func (f Fetcher) FromURL(ctx context.Context, url string) (*profile.Profile, error)

FromURL fetches a profile from the designated `url` and parses it.

Jump to

Keyboard shortcuts

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