Closed tiagoliveira9 closed 6 years ago
vegeta plot -h
that option does not exist but I found the solution:
vegeta plot results.bin results2.bin > plot.html Thanks for the great work on Vegeta!
The help flag doesn’t exist? That’s a problem. Can you share the details of your version and OS?
I'm on Fedora 28, 4.18.16-200.fc28.x86_64. I've downloaded the binary vegeta-12.1.0-linux-amd64.tar.gz .
And what’s the output of vegeta report -h
`Usage: vegeta report [options] [
Outputs a report of attack results.
Arguments:
So the flag does exist after all? What happened at first?
Sorry, I meant: vegeta plot -h
`Usage: vegeta plot [options] [
Outputs an HTML time series plot of request latencies over time. The X axis represents elapsed time in seconds from the beginning of the earliest attack in all input files. The Y axis represents request latency in milliseconds.
Click and drag to select a region to zoom into. Double click to zoom out. Choose a different number on the bottom left corner input field to change the moving average window size (in data points).
Arguments:
I'm doing this "vegeta plot results2.bin results3.bin > plot2.html" and it's working okay for me. I don't understand the point of having the flag "h", what is supposed to do?
Protip: You can three backticks for multiline blocks of code.
So, regarding the output of vegeta plot -h
, there you go, that's what I wanted you to see when I wrote my first reply here.
It is the user manual. -h
stands for help
. So you can call -h
on any command to learn how to use it!
Estou em modo didático, Tiago :-)
Damn xD I'm so focused on benchmarking a lot of stuff at the same time that I was not "seeing"... yes, flag h is help in 99% of the flags on the universe xD Obrigado!
De nada 😇
Question
I want to make a plot with several results, how can I do that?
Thanks