six-ddc / plow

A high-performance HTTP benchmarking tool that includes a real-time web UI and terminal display
Apache License 2.0
4.12k stars 140 forks source link

Added a summary flag to skip the live printing to the terminal #27

Closed shmul closed 2 years ago

shmul commented 2 years ago

Hi,

Thanks for coding and sharing plow. I added a --summary flag that skips the live progress update and just outputs the final figures. This makes it easier to use plow in scripts and to capture the into a file.

Cheers, Shmul

six-ddc commented 2 years ago

LGTM

shmul commented 2 years ago

Thanks for that. BTW, I forgot to update the readme. Here is the minor patch (seems easier than opening a pull request)

commit e2ec10e853543d503d4b831c6ee3d4c04ce0acad Author: Shmulik Regev @.***> Date: Mon Feb 21 12:56:21 2022 +0200

Added the summary flag to the readme

diff --git a/README.md b/README.md index 11d47e7..2820245 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ Flags: --socks5=ip:port Socks5 proxy --auto-open-browser Specify whether auto open browser to show Web charts --[no-]clean Clean the histogram bar once its finished. Default is true

On Sat, Feb 19, 2022 at 4:00 AM ddc @.***> wrote:

Merged #27 https://github.com/six-ddc/plow/pull/27 into main.

— Reply to this email directly, view it on GitHub https://github.com/six-ddc/plow/pull/27#event-6104036047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLE3GD4OMCHTACQKYBJ2DU332SDANCNFSM5OX62NOQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>