Commit Graph

300 Commits

Author SHA1 Message Date
Diogo Sousa
0466a1d7cf Addressed review comments. 2018-09-09 23:18:18 +02:00
Diogo Sousa
d78c33b864 Added options to specify the max/exact numbers of runs.
Fixes #77.
2018-09-09 23:18:18 +02:00
Samuel Marks
fe041df718 Fixed broken hyperlink anchor 2018-09-04 15:06:15 +02:00
Ta Thanh Dinh
bdccc10a61 change windows cmd interpreter 2018-08-27 20:03:55 +02:00
sharkdp
0ee522d6e4 Update install instructions 2018-07-18 18:37:46 +02:00
sharkdp
695f4f29b2 Bump minimum Rust version to 1.24 2018-07-18 18:11:05 +02:00
sharkdp
866171ddcf Update dependencies 2018-07-18 00:05:19 +02:00
sharkdp
94621ad315 Bump version for csv, closes #69 2018-07-18 00:01:07 +02:00
Tuomas Siipola
5ccf1a4d61 Support Rust 1.20.0 2018-07-05 19:12:41 +02:00
Tuomas Siipola
fb9b30c7f8 Support parameter in preparation command 2018-07-05 19:12:41 +02:00
Felix Yan
4d68c5f72c Fix a typo in main.rs 2018-06-15 20:59:46 +02:00
Jakob Krigovsky
b32fbdad23 Add Homebrew installation instructions 2018-06-13 20:00:56 +02:00
sharkdp
b10afcf8ae Bump version 2018-06-11 20:44:03 +02:00
sharkdp
22491e2385 Run 'cargo fmt' 2018-05-22 22:57:51 +02:00
sharkdp
e6d31f5914 Add comment about --show-output option 2018-05-22 22:57:16 +02:00
Christian Duerr
556788c160 Print stderr with --show-output flag
The `--print-stdout` flag has been changed to `--show-output` and now
both stderr and stdout are forwarded when this option is specified.
2018-05-22 22:54:08 +02:00
Christian Duerr
e53726d3f7 Fix windows 2018-05-22 22:54:08 +02:00
Christian Duerr
4be435436e Allow forwarding benchmark's stdout to hyperfine
This change makes it possible to forward the stdout of the command the
user tries to benchmark to hyperfine's stdout using the `--print-stdout`
flag.

This should be irrelevant for most use-cases, however it makes it
possible to get some crude benchmarks of terminal emulators similar to
what's currently often done with `time cat file`.
2018-05-22 22:54:08 +02:00
sharkdp
1011eef7f3 Indentation 2018-05-14 18:43:17 +02:00
Steve Pentland
6b19af9415 All parsing of arguments now split out. 2018-04-24 21:20:05 +02:00
David Peter
6063b405ec
Update install instructions 2018-03-24 22:06:03 +01:00
sharkdp
697deb6d88 Rename 'Result Comparison' 2018-03-24 21:38:32 +01:00
sharkdp
355765e7bf Update Markdown format 2018-03-24 21:23:55 +01:00
sharkdp
fdc4c655d3 Add section about param. benchmarks and export 2018-03-24 21:01:41 +01:00
sharkdp
233a995ba4 Bump version to 1.0 2018-03-24 20:44:26 +01:00
sharkdp
be09ae413f Clean up the --help text 2018-03-24 20:41:35 +01:00
sharkdp
d677901341 Allow for negative numbers 2018-03-24 20:33:50 +01:00
sharkdp
07f142528e Rename parameter to '--parameter-scan' 2018-03-24 20:33:50 +01:00
sharkdp
e862cf8567 Implement '--parameter-range var min max', see #19 2018-03-24 20:33:50 +01:00
Steve Pentland
3966bf05c1 Add comparison output when 2 or more commands are run
This also includes a restructure to the internal types used
2018-03-24 19:20:09 +01:00
David Peter
8295327263
Update README.md 2018-03-21 23:24:20 +01:00
sharkdp
3351f52b1b Add newline to JSON output, closes #49 2018-03-21 22:56:01 +01:00
sharkdp
0756558d53 Use skip_serializing_if 2018-03-21 07:59:09 +01:00
sharkdp
8a25885714 Export list of runtimes to JSON 2018-03-21 07:59:09 +01:00
Steve Pentland
5fb66db100 Change to export-markdown long opt, update help text 2018-03-20 23:19:06 +01:00
Steve Pentland
5602c17bef Add backticks around benchmark command to render as code 2018-03-20 23:19:06 +01:00
Steve Pentland
8b933dc64d Add markdown support.
Don't create Strings to convert to bytes later, just serialize directly
to bytes in the first place
2018-03-20 23:19:06 +01:00
sharkdp
df1500dc60 Update README 2018-03-20 22:00:18 +01:00
sharkdp
97920d5b74 Help message update 2018-03-20 22:00:11 +01:00
sharkdp
1bd5436109 Proper error handling for the exporter 2018-03-20 21:40:06 +01:00
sharkdp
9b5dd60a92 Refactored ExporterManager 2018-03-20 21:40:06 +01:00
sharkdp
4b8cc34815 Use String instead of bytes, change error handling 2018-03-20 21:40:06 +01:00
sharkdp
bd81fe65a2 create_export_manager -> ExportManager::new 2018-03-20 21:40:06 +01:00
sharkdp
aabe1331a2 Some renamings and documentation updates 2018-03-20 21:40:06 +01:00
Steve Pentland
c59110d652 Add option to export JSON, change file handling
No longer serialize into strings, instead use Vec<u8> as it is
what we're writing to the files.

Fixup comments
2018-03-20 20:14:14 +01:00
Steve Pentland
ce79d81bd2 Add min, max to output. They were missed 2018-03-19 07:53:10 +01:00
Steve Pentland
7c7277777a Change the structure of everything to remove Manager trait.
Manager is now a simple struct, that no longer stores the results,
but instead takes in a Vec<ExportEntry> and has all exporters
write from this collection.

Benchmark and run both return their results, no more mut manager.

Change f64 in ExportEntry to hyperfine::internal::Second.

Remove multiple export files for a single type.
2018-03-19 07:53:10 +01:00
Steve Pentland
c4688a7386 Do not copy export items between exporters, write from central vec 2018-03-19 07:53:10 +01:00
Steve Pentland
12d8fdbf61 Make it possible to export to multiple files at once 2018-03-19 07:53:10 +01:00
Steve Pentland
a91912f322 Add export manager and CSV export capability 2018-03-19 07:53:10 +01:00