Measure process run time and peak memory usage.
Some code was inspired by robotty/simple-process-stats
- Windows (Last tested is v0.1.1)
- Linux
MacOS is not supported because I have no way to test it.
Show help:
mproc
Run program (with arguments):
mproc [AppName] [Arguments]
Run meme-cutter
with arguments file
, image.png
and result.png
.
> mproc meme-cutter file image.png result.png
===============<< mproc results >>===============
Time: 5.3713ms
Memory: 3.836 MiB
Exit code: 0
- Author: BonnyAD9
- GitHub repository: BonnyAD9/mproc
- My website: bonnyad9.github.io