Commit 6781e97
Add option to measure time and memory consumption with
* Add option to measure with `time`
* Set ulimit to proper value after running
* Fix MacOS errors
* Fixes for MacOS, revert memory limits after executing
* Fix tests
* Bump version
* Remove unnecessary import
* Update readme
* Add instructions for running with time under Windows
* Depend on `time` for memory measuring instead of ulimit
* Run old tests on both oiejq and time
* Verbose pytest output in workflow
* Add `time` instalation in workflow
* Remove code duplication
* Split execution code
* Document output file of time command
* Add struct for execution result
* Remove unneeded function in test package
* Fix error in result parsing
* Fix unit test
* Change Kbytes into KB
Co-authored-by: Tomasz Nowak <[email protected]>
* Change default time tool for MacOS and Windows
* Change names of some functions
* Add .idea to .gitignore
* Change memory limit to int
* Add missing whitespace
Co-authored-by: Tomasz Nowak <[email protected]>
* Remove code duplication
* Remove installation steps from read me
* Fix ExecutionResult struct
* Update time tool help command
Co-authored-by: Tomasz Nowak <[email protected]>
* Add struct for ExecutionData
* Fix execution status order
* Add package for testing correctness of status order
* Add tests for correctness of status order
* Add more tests
* Add function for validating compilers and time tool path
---------
Co-authored-by: Tomasz Nowak <[email protected]>time (#19)1 parent d92ab73 commit 6781e97
File tree
26 files changed
+563
-122
lines changed- .github/workflows
- src/sinol_make
- commands/run
- helpers
- tests
- commands/run
- packages
- abc/prog
- vso
- doc
- in
- out
- prog
26 files changed
+563
-122
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments