-
-
Notifications
You must be signed in to change notification settings - Fork 532
Open
Description
Problem
While neither the command-line help nor the comments in the code elaborate on the expected behavior when --json is specified in a quinn-perf client's arguments, based on intuition and experience using iperf3, one would assume that enabling it automatically suppresses all text- or table-based output (at least when the JSON output target is stdout, e.g., when specifying --json -).
Currently, this is not the case.
Possible Resolution
Since json output is implemented as an optional compile-time feature, the easiest solution I can imagine for disabling is to add a conditionally included if expression before invoking stats.print() and any additional println! macros present in client.rs. This feels a bit quirky though.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels