Commit Graph

686 Commits

Author SHA1 Message Date
David Peter
49691cf483 Extract common functionality 2022-02-22 13:09:56 +01:00
David Peter
cd5067eda1 Simplify 2022-02-22 13:01:39 +01:00
David Peter
5f4cddf138 Rename to TimerResult 2022-02-22 12:56:56 +01:00
David Peter
62bfc428a7 Move wall clock timer into execute_and_measure 2022-02-22 12:56:04 +01:00
David Peter
02bbb4e78f Change argument order 2022-02-22 11:57:22 +01:00
David Peter
7a7bcbcc3e Add integration test for --show-output 2022-02-22 11:57:05 +01:00
David Peter
11921b9391 Move Stdio extraction to enum 2022-02-22 11:54:00 +01:00
David Peter
8955006508 Further simplify execute_and_measure 2022-02-22 11:45:46 +01:00
David Peter
57957ff731 Move to timer module 2022-02-22 11:34:30 +01:00
David Peter
f1ccef306f Move custom functionality to executor 2022-02-22 11:23:53 +01:00
David Peter
7c264d3662 Rename functions 2022-02-22 11:11:49 +01:00
David Peter
2af99b76d6 Rename to run_command_and_measure 2022-02-22 10:59:33 +01:00
David Peter
45c07323e1 Rename to get_command_line 2022-02-22 10:55:58 +01:00
David Peter
defafdf707 Refactor timer module 2022-02-22 10:51:06 +01:00
David Peter
f029a46ff9 Fix clippy warnings 2022-02-22 10:13:06 +01:00
David Peter
b6ff23a77f Update outdated comment 2022-02-22 10:08:15 +01:00
David Peter
eb72702956 Update LICENSE 2022-02-22 10:05:04 +01:00
David Peter
197e5df9f0 Add environment randomization on Windows 2022-02-22 09:42:31 +01:00
David Peter
cb6f2f7c4e Remove comment 2022-02-22 09:15:40 +01:00
David Peter
62e82a9b4b Update CHANGELOG 2022-02-22 09:15:25 +01:00
David Peter
6887835f34 Proper shell overhead computation 2022-02-22 09:07:40 +01:00
David Peter
6f51232a8a Add debug/mock mode 2022-02-22 09:07:40 +01:00
David Peter
3348b37b8e Faster tests 2022-02-22 09:07:40 +01:00
David Peter
c0ce6b9537 Add integration test for '--shell' 2022-02-22 09:07:40 +01:00
David Peter
5c9c8c2383 New Benchmark struct 2022-02-22 09:07:40 +01:00
David Peter
d3c7c7974a Improve error message 2022-02-22 09:07:40 +01:00
David Peter
701a38323d Formatting 2022-02-22 09:07:40 +01:00
David Peter
8c5ae87ca2 Better error handling in run_intermediate_command 2022-02-22 09:07:40 +01:00
David Peter
662d5ca9ac Restructure run_intermediate_command 2022-02-22 09:07:40 +01:00
David Peter
f4ef945923 Update BenchmarkResult documentation 2022-02-22 09:07:40 +01:00
David Peter
021583b89b Simplify code 2022-02-22 09:07:40 +01:00
David Peter
0b5ad72872 Rename to command 2022-02-22 09:07:40 +01:00
David Peter
4cfccf1168 Rename num 2022-02-22 09:07:40 +01:00
David Peter
fa2eaaac5f Move functionality into run_cleanup_command 2022-02-22 09:07:40 +01:00
David Peter
ffa1c0e839 Remove more function arguments 2022-02-22 09:07:40 +01:00
David Peter
39c7736095 Move functions into Scheduler 2022-02-22 09:07:40 +01:00
David Peter
dcfeede18e Move functionality to scheduler 2022-02-22 09:07:40 +01:00
David Peter
b658e20110 Move exit code function to separate file 2022-02-22 09:07:40 +01:00
David Peter
811e6b5fcd Rename test 2022-02-22 09:07:40 +01:00
David Peter
6645fa10b9 Use get_program 2022-02-22 09:07:40 +01:00
David Peter
21f76a338f Remove unused option 2022-02-22 09:07:40 +01:00
David Peter
f9e62e5e7f Rename parse to from_str 2022-02-22 09:07:40 +01:00
David Peter
0ebd76dfc2 Turn show_output into enum 2022-02-22 09:07:40 +01:00
David Peter
f9334e15fc Rename _res to _result 2022-02-22 09:07:40 +01:00
David Peter
bea0cfab30 Rename Runs to RunBounds 2022-02-22 09:07:40 +01:00
David Peter
250db61fa0 Fix clippy warning 2022-02-22 09:07:40 +01:00
David Peter
2d0cd4b53c Modify doc comment 2022-02-19 16:53:02 +01:00
David Peter
833529f733 Refactor command.rs 2022-02-19 16:53:02 +01:00
David Peter
bf4d78dcaf Update code comments 2022-02-19 16:53:02 +01:00
David Peter
72d27729fa New Scheduler struct 2022-02-19 16:53:02 +01:00