manticoresoftware / manticoresoftware/clt
Measure peak mem and CPU time
@donhardman is already working on this.
Since Jul 24, 2024.
- Dominant language
- Svelte
- Stars
- 8
- Forks
- 3
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
It looks like it's possible and might be a good idea to add measurement of 'peak memory' and 'CPU time' usage after each command we run, similar to how we track 'duration'.
To make this happen, we could try tracking the PID of the bash process we run and then use PTY to send commands directly.
It's worth exploring the best approach and testing some ideas to implement this directly within the 'rec' tool's source code.
Once we're done with the measurements, we should think about how we can test it too.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.