Commit Graph
171 Commits
Author SHA1 Message Date
Jason Peacock f0b6f130ea Add option to set time units for CLI & Markdown, closes #80
Add option to set the time units to either `MilliSecond` or `Second`
for both CLI output and Markdown export, overriding the default logic.
2018-11-04 10:15:05 +01:00
dependabot[bot] 1ec810f8d4 Bump serde from 1.0.79 to 1.0.80
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.79...v1.0.80)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 10:39:59 +01:00
dependabot[bot] caa9c4e9f1 Bump cfg-if from 0.1.5 to 0.1.6
Bumps [cfg-if](https://github.com/alexcrichton/cfg-if) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/alexcrichton/cfg-if/releases)
- [Commits](https://github.com/alexcrichton/cfg-if/compare/0.1.5...0.1.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 10:11:23 +01:00
dependabot[bot] 440ec41291 Bump serde_derive from 1.0.79 to 1.0.80
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.79...v1.0.80)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 09:31:53 +01:00
dependabot[bot] ac649fdaa7 Bump serde_json from 1.0.31 to 1.0.32
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.31...v1.0.32)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 09:07:00 +01:00
Jason Peacock 01581f60e0 Add option to set the shell, closes #61
Allow the user to set the shell used for executing benchmark commands.

The option (-S/--shell) can be overridden, when there are duplicate
options the last option's value will be used.
2018-10-31 18:02:37 +01:00
Jason Peacock 0b18446c0c Addressed review feedback 2018-10-28 08:46:01 +01:00
Jason Peacock 29804c54c9 Change markdown export to use seconds, closes #71
The markdown results exporter was using milliseconds, but the other
results exporters are using the default seconds unit.

Apply some refactoring so the same logic used to select units for the
CLI output can be used to select the units for the markdown exporter.

Now the units of the markdown exporter match that of the CLI.

When there are multiple benchmarks, the CLI will choose the
appropriate unit for each benchmark separately. In this case, the
markdown exporter will use the first benchmark to select the units for
all the results.

*This will change the markdown results for all users from milliseconds
to seconds, a UX breaking change.*

Add unit tests for the markdown exporter to verify the output.

Issue #80 proposes a new option to choose the units used for both the
CLI report and results export.
2018-10-28 08:46:01 +01:00
David Peter f1d4443416 Update README.md 2018-10-19 22:03:20 +02:00
yobrave 4c814f6142 Docs: add chinese readme link
#75
2018-10-19 22:03:20 +02:00
sharkdp 094b76d23a Add missing CI script for Windows v1.3.0 2018-09-28 22:07:16 +02:00
sharkdp 674d4f8062 Bump version number 2018-09-28 22:02:39 +02:00
sharkdp cc7ddc9b8e Windows release 2018-09-28 22:02:24 +02:00
sharkdp df171392ec Change color override part 2018-09-28 21:57:53 +02:00
sharkdp 681e506a3f Remove newline 2018-09-28 21:57:53 +02:00
Jason Peacock 3246ec27e1 Compact output, add -s color option, closes #70
Strip the empty lines within the results for each benchmark, but keep
the empty line between each benchmark, and before the summary.

Add `color` style option to show color but not be interactive (no
progress bar).
2018-09-28 21:57:53 +02:00
sharkdp 4b8f47d6f2 Enable windows builds 2018-09-28 21:27:48 +02:00
sharkdp bd2ea3188c Update dependencies
closes #60
2018-09-27 23:09:13 +02:00
sharkdp f85e61dc39 cargo fmt 2018-09-27 23:07:24 +02:00
Sergey "Shnatsel" Davidoff 156933489b Better-sounding final performance report 2018-09-15 20:53:31 +02:00
Sergey "Shnatsel" Davidoff dc04fe8513 Compute and print standard deviation of the speed ratio 2018-09-15 20:53:31 +02:00
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 v1.2.0 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 v1.1.0 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' v1.0.0 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