Commit Graph
108 Commits
Author SHA1 Message Date
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
sharkdp ab4dbe998e Updates for 0.5.0 v0.5.0 2018-03-03 16:33:47 +01:00
sharkdp 6d3de59799 Code style updates 2018-03-03 16:29:52 +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
David Peter faff3e680e Update README.md 2018-02-13 21:17:27 +01:00
David Peter 0c987c11a9 Add Appveyor badge 2018-02-13 21:16:45 +01:00
rleungx 3cafb83ee0 address the comment 2018-02-13 21:11:46 +01:00
rleungx a08ab7cfb5 correctly estimate full execution time 2018-02-13 21:11:46 +01:00
Steve Pentland cad3d0c8e4 Remove extra trait, clean up cfg statements 2018-02-13 21:02:32 +01:00
Steve Pentland 6c7e102a24 Refactor execute and measure to shell, abstract away cpu timer 2018-02-13 21:02:32 +01:00
Steve Pentland 36cc649d13 Unify timer names per-context 2018-02-13 21:02:32 +01:00
Steve Pentland 940732947c Fix non-windows build 2018-02-13 21:02:32 +01:00
Steve Pentland 369f466716 Missing semicolon for non-windows 2018-02-13 21:02:32 +01:00
Steve Pentland 1ce265e275 Restructure timer module, split timer types 2018-02-13 21:02:32 +01:00
Steve Pentland 5da47cdbc9 Remove mutability from values 2018-02-13 21:02:32 +01:00
Steve Pentland 02a2c30158 Move windows timing measurement inside calling fn 2018-02-13 21:02:32 +01:00
Steve Pentland 5ca5a00bf6 Tidy up call to GetProcessTimes from getrusage example 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 79c375af0f Remove winnt feature, not needed. 2018-02-13 21:01:59 +01:00
Steve Pentland 5eaa6d8dff Add more links to reference docs, move comment 2018-02-13 21:01:59 +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 00295f3f7f Properly spawn commands on Windows 2018-02-02 23:04:19 +01:00
sharkdp f67de67900 Fix quotes 2018-02-02 22:42:53 +01:00
sharkdp 658e0890f9 Clean up appveyor.yml 2018-02-02 22:42:53 +01:00
sharkdp 1bdf5f3b8e Add dummy timer for Windows 2018-02-02 22:42:53 +01:00
sharkdp fefb3f2c16 Initial work on refactoring 2018-02-02 22:42:53 +01:00
sharkdp eb92bd4674 No hybrid between basic and full 2018-02-02 22:42:53 +01:00
sharkdp 5ee1c74d81 cargo fmt 2018-02-02 22:42:53 +01:00
sharkdp 630a17f87b Fix appveyor script 2018-02-02 22:42:53 +01:00
sharkdp 5197e6de2a Enable builds on all branches 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
Stephen Pentland 0d46c302f5 Refactor, keep common code 2018-02-02 22:42:53 +01:00
Steve Pentland 501d7b70ad Don't include mod decl when on Windows 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 5b755f9fa8 Add appveyor CI 2018-02-02 10:45:36 +01:00
Wilson Birney 8fdd6b59b3 added void linux install to readme 2018-01-31 20:17:42 +01:00
David Peter 1068db5add Another typo 2018-01-30 22:33:00 +01:00
David Peter a526f4cb6a Typo 2018-01-30 22:31:31 +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