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.
Click to show internal directories.
Click to hide internal directories.