https://github.com/bonnyad9/mproc
Measure process run time and peak memory usage
https://github.com/bonnyad9/mproc
benchmark memory riir rust time winapi
Last synced: 7 months ago
JSON representation
Measure process run time and peak memory usage
- Host: GitHub
- URL: https://github.com/bonnyad9/mproc
- Owner: BonnyAD9
- License: mit
- Created: 2023-02-10T18:45:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-03T13:02:20.000Z (11 months ago)
- Last Synced: 2024-11-03T13:31:01.875Z (11 months ago)
- Topics: benchmark, memory, riir, rust, time, winapi
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mproc
Measure process run time and peak memory usage.Some code was inspired by [robotty/simple-process-stats](https://github.com/robotty/simple-process-stats)
## Support
- Windows (Last tested is v0.1.1)
- LinuxMacOS is not supported because I have no way to test it.
## Usage
Show help:
```
mproc
```Run program (with arguments):
```
mproc [AppName] [Arguments]
```## Example
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
```## Links
- **Author:** [BonnyAD9](https://github.com/BonnyAD9)
- **GitHub repository:** [BonnyAD9/mproc](https://github.com/BonnyAD9/Bny.General)
- **My website:** [bonnyad9.github.io](https://bonnyad9.github.io/)