Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: add verbose option #500

Merged
merged 1 commit into from Nov 23, 2023
Merged

Conversation

RafaelGSS
Copy link
Contributor

This PR adds a new option to the CLI --V to manage the verbosity of the output. Sometimes (mostly for automation) we just need the last line output:

$ ./autocannon.js -V=0 -c 100 -d 30 localhost:3000
Running 30s test @ http://localhost:3000
100 connections

44k requests in 30.02s, 8.06 MB read

By default verbose is true so nothing will change to regular users.

Copy link
Owner

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit cd74688 into mcollina:master Nov 23, 2023
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants