stress

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package stress holds longer-running stress helpers.

PR CI must not run multi-hour stress. Use build tag `stress` or the nightly workflow stubs under .github/workflows/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Burst

func Burst(ctx context.Context, be shiftlock.Backend, opt Options) (ops, fails int64, err error)

Burst runs concurrent acquire/release against be for Duration.

Types

type Options

type Options struct {
	Workers  int
	Claims   int
	Duration time.Duration
}

Options configures a short stress burst suitable for local/nightly runs.

Jump to

Keyboard shortcuts

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