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

Determine output format of results: ability to pass --output-format flag #66

Open
Dentrax opened this issue Dec 23, 2021 · 2 comments
Open

Comments

@Dentrax
Copy link

Dentrax commented Dec 23, 2021

Description

Netperf prints directly into stdout in raw format, such as the following:

"MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 20001
AF_INET to 104.154.50.86 () port 20001 AF_INET : +/-2.500% @ 99% conf.
: first burst 0",\n
Throughput,Throughput Units,Throughput Confidence Width (%),
Confidence Iterations Run,Stddev Latency Microseconds,
50th Percentile Latency Microseconds,90th Percentile Latency Microseconds,
99th Percentile Latency Microseconds,Minimum Latency Microseconds,
Maximum Latency Microseconds\n
1405.50,Trans/s,2.522,4,783.80,683,735,841,600,900\n

We can use output selectors to enrich the results, as you already know.

Motivation

Currently, we have to write a wrapper application that reads and scrapes netperf's raw output and converts to target format, so we can do further analyzes on the predefined spec.

By defining a spec, other apps or wrapping tools that depend on this project couldn't create different (inconsistent each other) custom output specs anymore.

Are there any performance benchmarking output spec definitions / organizations?

Related Works

Since we already have some related tools that covers this requirement, I'm not so sure whether we should built-in support for this. I think it's out-of-scope feature for this project. From the Unix philosophy perspective; do one thing and do it well, right?

I couldn't find any related issue, so I'm throwing here for further discussing.

Waiting your thoughts!

@tohojo
Copy link

tohojo commented Dec 23, 2021

Thoughts on what? I'm not actually sure what you're proposing (or not?) here? :)

@Dentrax
Copy link
Author

Dentrax commented Dec 23, 2021

Thoughts on what? I'm not actually sure what you're proposing (or not?) here? :)

--output-fotmat <JSON,CSV,TABLE,...>

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

No branches or pull requests

2 participants