profiling

package
v0.0.0-...-a3e5887 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, MIT Imports: 32 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, k8sCtx k8sctx.KubernetesContext, 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