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
Steve Pentland
5fb66db100
Change to export-markdown long opt, update help text
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
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
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
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
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
Steve Pentland
4829dfbc85
Make checks more concise
2018-02-20 21:42:47 +01:00
Steve Pentland
faf00b6985
Add 'nocolor' option for output.
...
This maintains most output styles, but removes coloring from output. On Windows,
this is the default setting if Full would have been used
2018-02-20 21:42:47 +01:00
Steve Pentland
cad3d0c8e4
Remove extra trait, clean up cfg statements
2018-02-13 21:02:32 +01:00
Steve Pentland
9753eed85b
Initial working version with child proc HANDLE.
...
Still very ugly, and more work needs to be done to make it all pretty again. Additionally, cleaned
up all the cfg attrs to shor version
2018-02-13 21:02:32 +01:00
Steve Pentland
42635fbaaf
Initial windows timing support
2018-02-13 21:01:59 +01:00
Steve Pentland
92a0d4cfad
Don't disable styling on Windows
2018-02-12 22:43:28 +01:00
sharkdp
eb92bd4674
No hybrid between basic and full
2018-02-02 22:42:53 +01:00
Steve Pentland
038c05eee0
Keep coloring on Windows if auto or full
2018-02-02 22:42:53 +01:00
Steve Pentland
ff798ad615
Exclude entire cputime file, force basic output
2018-02-02 22:42:53 +01:00
Steve Pentland
1ddf729c7a
Initial changes to skip libc for cpu time on windows
...
Mark more non-windows as conditional
2018-02-02 22:42:53 +01:00
sharkdp
89e6d37562
Updates for 0.4.0
2018-01-28 18:49:54 +01:00
Steve Pentland
2e24ff012a
Add new style option to disable coloring and progress bars ( #24 )
2018-01-28 14:35:52 +01:00
sharkdp
d5c21ec272
Update warnings, switch to colored crate
2018-01-24 20:30:40 +01:00
sharkdp
241b89f12b
Add unit tests
2018-01-20 13:21:21 +01:00
sharkdp
ef2bef588c
Initial support for user and system time
2018-01-20 13:21:21 +01:00
sharkdp
35a513917d
Fix a few clippy warnings
2018-01-18 20:19:03 +01:00
sharkdp
ae47586998
Formatting
2018-01-18 19:00:04 +01:00
sharkdp
d42994bf64
Use enum instead of bool
2018-01-18 18:39:17 +01:00
sharkdp
f44f24c8d9
Update --help text
2018-01-18 18:17:23 +01:00
sharkdp
a656fbe508
Rename --setup to --prepare
2018-01-18 18:13:12 +01:00
sharkdp
b6ca2d6ac2
Clean up help text
2018-01-16 21:36:41 +01:00
sharkdp
a4df90e44c
Add --setup option, closes #8
2018-01-16 21:26:39 +01:00
sharkdp
05e5899643
Use statistical crate
2018-01-14 21:07:00 +01:00
sharkdp
2ba316063a
Refactor code into separate modules
2018-01-14 20:14:10 +01:00
sharkdp
460fa62290
Subtract the initial run
2018-01-14 15:15:33 +01:00
sharkdp
3f3267e424
Show current time estimate, closes #7
2018-01-14 15:04:38 +01:00
sharkdp
6dcd3fe571
Fix number of runs in for loops
2018-01-14 13:36:58 +01:00
sharkdp
407c738751
Output styling
2018-01-14 13:34:22 +01:00
sharkdp
7dae4cdc67
Add --ignore-failure option, closes #11
2018-01-14 12:39:58 +01:00
sharkdp
50b88b5cf2
Warmup count as u64 only
2018-01-14 12:22:29 +01:00
sharkdp
2ab118ddb9
Close stdin for child-processes, closes #13
2018-01-14 12:15:15 +01:00
sharkdp
984cec72d5
Correct for shell spawning time, closes #15
2018-01-14 12:14:34 +01:00
sharkdp
7e41c2a4ea
Handling of errors and warnings
2018-01-14 10:48:47 +01:00
Henri Menke
219bb1e44d
Errors
...
- if execution is faster than 1 ms
- if command is empty
2018-01-14 09:18:10 +01:00
sharkdp
dab3f9455f
Add --min-runs, closes #2
2018-01-13 21:01:30 +01:00