lpm icon indicating copy to clipboard operation
lpm copied to clipboard

simulation tests

Open onur-ozkan opened this issue 2 years ago • 2 comments

simulate and test package install, delete and update operations

onur-ozkan avatar Feb 25 '23 23:02 onur-ozkan

I believe we can use gopsutil or rust's port of this to monitor usage of the program and the child processes.

I would love to try to implement something with the go and include here when done. If that's okey.

erklyn avatar Feb 18 '24 17:02 erklyn

Those seems to be the in-place measurement tools which call various functions at the beginning and end of functions. Can they generate/collect comprehensive reports/informations from outside the binary? For example, can they call the executable in a Go application and provide a complete report of that pid?

I was considering writing a script that utilizes various tools on the pid of a running LPM instance which provides a complete report based on their results without modifying the LPM codebase. However I am open to any approach that simplifies this process. Ultimately, we only require the report.

onur-ozkan avatar Feb 19 '24 14:02 onur-ozkan