Open tejaskokje opened 7 years ago
It will be wonderful if this can be native functionality to the tool.
I do this myself with a custom script -- it would be nice if it were included by default. However, I'll add that I also report average latency (latency.mean/1000
) and I check for the presence of a RESULTS_FILE
environment variable and write the JSON there in addition to stdout.
This pull request will add a new file json.lua to scripts directory. This can be used to output results in JSON format as shown below
I have a similar PR against
wrk
as well. I created this new PR since output ofwrk2
has more percentiles thanwrk
.