Back to godoc.org
golang.org/x/tools / cmd / stress

Command stress

v0.0.0 (6f4f008)
Latest Go to latest
Published: 1 day ago | License: BSD-3-Clause | Module: golang.org/x/tools

Overview

The stress utility is intended for catching sporadic failures. It runs a given process in parallel in a loop and collects any failures. Usage:

$ stress ./fmt.test -test.run=TestSometing -test.cpu=10

You can also specify a number of parallel processes with -p flag; instruct the utility to not kill hanged processes for gdb attach; or specify the failure output you are looking for (if you want to ignore some other sporadic failures).

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier