You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I use gopsutil in order to get process information on a computer. I'm also interested in Rust, hopefully will start learning in a month. I came across this project through gopsutil -> gotop -> ytop -> rust-psutil and am quite curious about how rust-psutil performs against gopsutil. If anyone has any benchmark results in terms of time, cpu and memory usage, or even just the experience really, could you share them? Thank you.
PS: Should anyone be interested in providing rust-psutil benchmarking, perhaps I can provide you with gopsutil benchmarks.
The text was updated successfully, but these errors were encountered:
Benchmarks are a good idea. I don't think there are any currently but I could maybe work on that. One interesting thing to note is that gopsutil doesn't use any cgo and instead prefers to use sub-processes to gather data from external programs in order to improve cross compilation support. However I imagine that this is a big performance hit.
Today I've found the opportunity to delve deeper into the functionality provided by rust-psutil. It is not as extensive as gopsutilyet. However I still would like to compare the benchmarks for existing functions. You may be right, however there is also an overhead for cgo calls, which might add up to a performance hit as well. This only makes me more curious about the benchmarks. Do let me know if I can help you about it.
Hello, I use
gopsutil
in order to get process information on a computer. I'm also interested in Rust, hopefully will start learning in a month. I came across this project throughgopsutil -> gotop -> ytop -> rust-psutil
and am quite curious about howrust-psutil
performs againstgopsutil
. If anyone has any benchmark results in terms of time, cpu and memory usage, or even just the experience really, could you share them? Thank you.PS: Should anyone be interested in providing
rust-psutil
benchmarking, perhaps I can provide you withgopsutil
benchmarks.The text was updated successfully, but these errors were encountered: