profiling

package
v0.0.0-...-b4fcc37 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0, MIT Imports: 31 Imported by: 0

Documentation

Overview

Package profiling helps with getting profiles from running benchmarks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeSetup

func MaybeSetup(ctx context.Context, t *testing.T, c *testcluster.TestCluster, ns *testcluster.Namespace) (func(), error)

MaybeSetup sets up profiling if requested. It returns a cleanup function. If the returned error is nil, the cleanup function is non-nil and should be called regardless of whether profiling is actually enabled or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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