[Q] How much performance gain will there be if this was ported to golang or rust?
See original GitHub issueCurrently,bpytop
uses around 4-6% CPU constantly, which disallows leaving it running in the background.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Go (Golang) vs. Rust: Performance Comparison - Clockwise
On-par performance Both Go and Rust have excellent built-in, high-performance standard build and dependency management tools. Rust will almost always beat Go ......
Read more >Rust vs. Go: Why They're Better Together - The New Stack
As your product matures, and requirements stabilize, there may be opportunities to have large wins from marginal increases in performance.
Read more >Go vs Rust: What to choose in 2022? - OpenXcell
Yes, Golang uses call-by-value which reduces the job of the garbage collector significantly, thus increasing the speed and supporting memory- ...
Read more >Why do you prefer Go over Rust ? : r/golang - Reddit
Rust gives performance and a bit of additional safety[^1 ] but it trades off a *lot* of productivity. [^1]: I'm very familiar with...
Read more >When to use Rust and when to use Go - LogRocket Blog
Right off the bat, there are clear differences between Go and Rust. Go has a stronger focus on building web APIs and small...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@NightMachinary Cpu usage is dependant on your specific cpu, frequency, os, python version and bpytop update frequency. For reference, bpytop at standard update uses less cpu than glances, gtop and about as much as gotop.
Looking at ytop written in rust, it uses about half as much cpu, but it also has a more minimalist UI.
There will likely be a rust version some time in the future, but not so much for performance reasons, but more as a project for me to learn rust.
If you need a lightweight proc monitor, htop is probably still the best alternative with about 1/4 - 1/5 of the usage bpytop has.
I’ve just noticed it, thank you for this piece of software, there’s basically no reason to port to Golang if there’s a C++ version