Commit Graph
100 Commits
Author SHA1 Message Date
David Peter e1da8ba00f Further simplify execute_and_measure 2022-02-22 13:24:05 +01:00
David Peter 0ffc6d7cc0 Move to timer module 2022-02-22 13:24:05 +01:00
David Peter 1f3943e7d1 Move custom functionality to executor 2022-02-22 13:24:05 +01:00
David Peter f822455d99 Rename functions 2022-02-22 13:24:05 +01:00
David Peter 7c929f7e48 Rename to run_command_and_measure 2022-02-22 13:24:05 +01:00
David Peter 826449bc8f Rename to get_command_line 2022-02-22 13:24:05 +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
David Peter 39984a3896 Fix SVG 2022-02-06 22:52:11 +01:00
David Peter 5df981ae7b Expand execution order tests 2022-02-06 22:50:11 +01:00
David Peter aae3a4116f Add diagram explaining execution order 2022-02-06 22:50:11 +01:00
David Peter 6db82cdb2a Split range into range_step and commands 2022-02-06 22:49:04 +01:00
David Peter a6baf49b72 Introduce Commands struct 2022-02-06 22:49:04 +01:00
David Peter c5a2266199 New schedule module 2022-02-06 20:19:50 +01:00
David Peter 5c634c9f2f Move a few modules to util 2022-02-06 20:19:50 +01:00
David Peter 999e7c4566 Move more modules around 2022-02-06 20:19:50 +01:00
David Peter 47091a5740 New parameter module 2022-02-06 20:19:50 +01:00
David Peter 865290a144 New output module 2022-02-06 20:19:50 +01:00
David Peter e5e4c8c020 New 'benchmark' module folder 2022-02-06 20:19:50 +01:00
David Peter cd38e9c63b Move build_commands 2022-02-06 20:19:50 +01:00
David Peter 33f8d03d6b Move build_export_manager to ExportManager 2022-02-06 20:19:50 +01:00
David Peter b54b2f81f4 Rename to Options 2022-02-06 20:19:50 +01:00
David Peter 39a85b88cf Move convert_cli_arguments_to_options to HyperfineOptions 2022-02-06 20:19:50 +01:00
David Peter c4ae7f6f8c Fix Windows code 2022-02-06 20:19:50 +01:00
David Peter d7e96928fb Fix format call 2022-02-06 20:19:50 +01:00
David Peter a35e7e2caf Fix formatting 2022-02-06 20:19:50 +01:00
David Peter c6477c7368 Rename function 2022-02-06 20:19:50 +01:00
David Peter 2040810ce3 Unified error handling 2022-02-06 20:19:50 +01:00
David Peter 34dabcbed7 Integration test for duplicate parameter names 2022-02-06 20:19:50 +01:00
David Peter 4d3314f26f Add integration test for prepare option 2022-02-06 20:19:50 +01:00
David Peter b3c0022386 Add more integration tests 2022-02-06 20:19:50 +01:00
David Peter 81b737fdc1 Remove BenchmarkResult::new 2022-02-06 20:19:50 +01:00
David Peter 4fa0aba266 Add new integration test 2022-02-06 20:19:50 +01:00
David Peter c751a7735c Move execution order tests to separate file 2022-02-06 20:19:50 +01:00
David Peter ce7087b107 Use thiserror for to derive Error 2022-02-06 20:19:50 +01:00
David Peter e6dad51f34 Fix deprecated clippy option 2022-02-06 17:47:40 +01:00
David Peter f5de5487cc Fix clippy suggestions 2022-02-06 17:47:40 +01:00
David Peter f443195d92 Update install instructions 2022-02-03 21:44:23 +01:00
David Peter 80a9f51710 Update to clap 3 2022-02-03 21:07:15 +01:00
David Peter f619511101 Update CHANGELOG 2022-02-03 21:07:15 +01:00
David Peter f5bd1aea66 Bump MSRV 2022-01-01 11:18:54 +01:00
David Peter abd0d335ab Make stddev fields optional, hide "± σ" for 1 run 2021-11-14 10:28:24 +01:00
David Peter 8b60a06ee5 Update CI file 2021-10-17 19:45:12 +02:00
David Peter 21a5ed2b89 Update dependencies 2021-10-17 19:45:12 +02:00
David Peter a36e5990c5 Update dependencies 2021-10-17 19:45:12 +02:00
David Peter 93c16534c0 Prepare release v1.12 2021-10-17 19:45:12 +02:00
David Peter 58d3eada61 Enable colors on Windows, closes #427 2021-10-17 18:03:18 +02:00
David Peter 8a4e791025 Fix merge conflict 2021-10-17 17:10:46 +02:00
David Peter a16781b252 Fix description of Debian package 2021-10-03 19:08:58 +02:00
David Peter 1027940e3a Completely remove internal.rs 2021-08-24 22:44:08 +02:00
David Peter 76dd9d40f0 Move relative-speed computation to separate module 2021-08-24 22:44:08 +02:00
David Peter d5a2590b98 Move benchmark comparison to main.rs 2021-08-24 22:44:08 +02:00
David Peter eb31e0f5f9 Move tokenize to new file 2021-08-24 22:44:08 +02:00
David Peter 13986b17f4 Move progress bar to separate module 2021-08-24 22:44:08 +02:00
David Peter 8618c86421 Fix float eq check 2021-08-24 22:44:08 +02:00
David Peter 9d61130b44 Remove timer/internal.rs 2021-08-24 22:44:08 +02:00
David Peter 36d4f82abd Do not specify exact versions 2021-08-24 22:44:08 +02:00
David Peter da7165fa58 Remove outdated version check 2021-08-24 22:44:08 +02:00
David Peter 3a0bcd977d Update dependencies 2021-08-24 22:44:08 +02:00
David Peter 60e9771ad5 Remove cfg-if dependency 2021-08-24 22:44:08 +02:00
David Peter 9df6174bc2 Re-order imports 2021-08-24 22:44:08 +02:00
David Peter 30c381fe2a Flat directory/module structure 2021-08-24 22:44:08 +02:00
David Peter d31936ec28 Fix tests on Windows 2021-08-23 22:37:02 +02:00
David Peter e71ff559f3 Add simple integration tests 2021-08-23 22:37:02 +02:00
David Peter 9b328ff354 Move BenchmarkResult to new file 2021-08-23 21:47:58 +02:00