https://github.com/drewalth/stress
Run the provided command many times in parallel
https://github.com/drewalth/stress
go stress test
Last synced: 13 days ago
JSON representation
Run the provided command many times in parallel
- Host: GitHub
- URL: https://github.com/drewalth/stress
- Owner: drewalth
- License: mit
- Created: 2024-02-28T05:11:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T06:17:34.000Z (over 1 year ago)
- Last Synced: 2025-09-22T19:02:15.781Z (13 days ago)
- Topics: go, stress, test
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# stress
[](https://github.com/drewalth/stress/actions/workflows/go.yml)
```bash
NAME:
stress - A tool for stress testing commandsUSAGE:
stress [global options] command [command options]COMMANDS:
help, h Shows a list of commands or help for one commandGLOBAL 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
```bash
sudo make install_stress_mac
```## Usage
```bash
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.
```yaml
name: Stress Test
run: go run ./stress.go --cmd "npm test --workspaces" --runs 100 --parallel 10
```