stress

command module
v0.0.0-...-af8f790 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 10 Imported by: 0

README

stress

Build

NAME:
   stress - A tool for stress testing commands

USAGE:
   stress [global options] command [command options]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --cmd value                 Command to run for stress testing
   --runs value, -r value      Number of times to run the command (default: 100)
   --parallel value, -p value  Number of parallel executions (default: 4)
   --help, -h                  show help

Install

Mac
sudo make install_stress_mac

Usage

stress --cmd "npm test --workspaces" --runs 100 --parallel 10
CI
Github Actions

If you just want to copy the go file. Go is installed on most if not all GHA runners.

name: Stress Test
run: go run ./stress.go --cmd "npm test --workspaces" --runs 100 --parallel 10

Documentation

Overview

Description: A tool for stress testing commands Author: Drew Althage Created: 2024-27-02 Usage: go run stress.go --cmd "echo hello" --runs 100 --parallel 10 License: MIT

Jump to

Keyboard shortcuts

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