Commit Graph
165 Commits
Author SHA1 Message Date
sharkdp 4cb86f4b9c Do not show relative stddev for fastest entry 2019-10-13 16:24:51 +02:00
sharkdp df2e6716d7 Add relative speed to markdown export, closes #225 2019-10-13 16:24:51 +02:00
sharkdp 92e59c37c1 Use 'if' instead of 'match' 2019-10-13 15:11:39 +02:00
sharkdp ea2d622cc1 Remove space 2019-10-13 15:11:39 +02:00
sharkdp 33591d1433 Update error message 2019-10-13 15:11:39 +02:00
Saurav Sharma d1cd30b2a3 refactor code
Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
2019-10-13 15:11:39 +02:00
Saurav Sharma bc82bd5f23 raise error if preparation_command length is not equal to command or 1
Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
2019-10-13 15:11:39 +02:00
Saurav Sharma 0c0713da30 Add multiple --prepare support
Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
2019-10-13 15:11:39 +02:00
sharkdp 3d41613f43 Fix markdown export tests 2019-09-16 21:34:07 +02:00
sharkdp 8a7d04347d Higher precision for rel. speed in markdown output
closes #208
2019-09-16 21:27:54 +02:00
petr-tik 40b6774324 Correct type in command line arg 2019-09-13 19:37:06 +02:00
Piyush Rungta 8244bc11b1 Support case when only step size is float
After this change, invokations like

--parameter-scan t 0 1 --parameter-step-size 0.1

become valid
2019-09-01 14:31:35 +02:00
Piyush Rungta c73636c478 Provide short option for --parameter-step-size
Rename STEP to DELTA
2019-09-01 14:31:35 +02:00
Piyush Rungta ef523e1fb0 Improve StepRequired error message 2019-09-01 14:31:35 +02:00
Piyush Rungta b10b93f473 Add support for floats in --parameter-scan 2019-09-01 14:31:35 +02:00
Piyush Rungta 737403df35 Run cargo fmt 2019-09-01 14:31:35 +02:00
sharkdp d6e1298ac7 Whitespace fix in --help text 2019-08-24 08:56:59 +02:00
Piyush Rungta 3e3f4d9a26 Add argument to take parameter range step size 2019-08-24 08:56:59 +02:00
philipp e867366197 Use byte literal instead of as u8 2019-07-17 21:11:44 +02:00
philipp 16210a1d13 Pass Copyable enums by value 2019-07-17 21:11:44 +02:00
philipp 78d249d656 Use slices instead of borrowed string 2019-07-17 21:11:44 +02:00
philipp c0ada7d044 Use slices instead of borrowed vectors 2019-07-17 21:11:44 +02:00
philipp f3f8c9ca98 Avoid redundant ref 2019-07-17 21:11:44 +02:00
philipp 76119e6664 Use f64::from instead of as f64 2019-07-17 21:11:44 +02:00
philipp a0bd0248ce Avoid redundant explicit borrow 2019-07-17 21:11:44 +02:00
philipp 5849446315 Avoid long literal without separator 2019-07-17 21:11:44 +02:00
philipp cfd298ef14 Avoid redundant return 2019-07-17 21:11:44 +02:00
philipp 5e4e383dca Avoid redundant field names 2019-07-17 21:11:44 +02:00
philipp 3f79985473 Factor common operations into closure 2019-07-17 21:11:44 +02:00
philipp a5ce659b9c Avoid closure 2019-07-17 21:11:44 +02:00
philipp b573617a7c Return value directly 2019-07-17 21:11:44 +02:00
sharkdp fb7ded6ebc Add median run time to CSV and JSON export formats 2019-06-08 13:55:50 +02:00
sharkdp 4a67987079 Markdown: split min and max into two columns 2019-06-08 12:29:28 +02:00
sharkdp 14be4a0939 Add relative speed to markdown export 2019-06-08 12:29:28 +02:00
sharkdp e09707c90f Extract computation of relative speed 2019-06-08 12:29:28 +02:00
Andrii Radyk 2d0b0488f2 convert to rust edition 2018 2019-05-08 08:10:02 -05:00
Atul Bhosale 1317092c9e Format code using 'cargo fmt' 2019-04-04 20:41:25 +02:00
philipp fdc92cb204 Reduce repetition 2019-02-25 07:04:40 +01:00
Chloe Kudryavtsev e31dc91151 Add Asciidoc export option
Signed-off-by: Chloe Kudryavtsev <toast@toastin.space>
2019-01-30 21:27:25 +01:00
Benjamin Bannier b252531bde Serialize command parameters to data output files
This patch adds any parameter used to data output files (currently JSON
and CSV files). With that users have direct access to both input values
(i.e., benchmark parameters) and the resulting timings which should
simplify follow-up analyses.
2019-01-18 07:45:32 +01:00
Colin Wahl 0878544ba8 update help text for cleanup command 2019-01-14 20:21:50 +01:00
Colin Wahl 5af43cfc7b add cleanup command which is executed at the end of each benchmark 2019-01-14 20:21:50 +01:00
Hugo Locurcio aa429fea70 Fix a typo in the command-line help 2019-01-02 19:32:22 +01:00
sharkdp 51fe31e7d2 Improve progress bar 'experience' 2018-12-12 19:45:15 +01:00
tcmal 048506bed4 Show (dimmed) # of runs along with range.
Fixes #78
2018-12-05 14:43:29 +01:00
Peter Steinbach 1dcefd9082 refined help text of export flags to separate summary results from summary+raw timings 2018-12-05 14:37:16 +01:00
sharkdp a4cf1eaa29 Format source code 2018-11-21 19:55:58 +01:00
Jason Peacock 3aa26a3e27 Moved types::Second and types::Unit to new unit module
Also review feedback.
2018-11-04 10:15:05 +01:00
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
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