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

Add export options #38

Closed
sharkdp opened this issue Feb 16, 2018 · 3 comments
Closed

Add export options #38

sharkdp opened this issue Feb 16, 2018 · 3 comments

Comments

@sharkdp
Copy link
Owner

sharkdp commented Feb 16, 2018

It would be great if we could export benchmark results in different formats:

  • Markdown for easy integration into README files
  • JSON for further processing
  • CSV for simple plotting (gnuplot) -- header + one line per benchmark with columns mean, stddev, min, max

Each of those could be new command line options (hyperfine --export-csv my-benchmark.csv).

@stevepentland
Copy link
Contributor

stevepentland commented Mar 4, 2018

@sharkdp I'll take this one on. Do we want to split this into multiple sub-tasks for output type? That will allow for incremental progress. And, when specified, will we retain all standard terminal output also?

@sharkdp
Copy link
Owner Author

sharkdp commented Mar 5, 2018

Do we want to split this into multiple sub-tasks for output type?

Sounds good. We can still keep this one for now to discuss the general plan.

And, when specified, will we retain all standard terminal output also?

Yes, I think so. In addition, we would collect all results in some data structure and then write everything to the specified file at the end of the benchmark.

@sharkdp
Copy link
Owner Author

sharkdp commented Mar 19, 2018

Closed via #41. Markdown and JSON export can be tracked separately.

@sharkdp sharkdp closed this as completed Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants