memory-profiler
textot.rs
memory-profiler | textot.rs | |
---|---|---|
3 | 1 | |
2,115 | 26 | |
- | - | |
8.4 | 0.0 | |
over 2 years ago | over 2 years ago | |
C | Rust | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
memory-profiler
-
Go 1.17 Is Released
> But allocation heap profiling is still something I struggle with.
Have you tried this one? https://github.com/koute/memory-profiler
-
Is there a reliable way to find out where my memory is going?
I got very good results with https://github.com/koute/memory-profiler
- How to find a memory leak in a Rust program?
textot.rs
-
Go 1.17 Is Released
I find that's only true so long as the problem you're solving fits well into Go's view of the world.
If you want to make a data structure holding the equivalent of a parametric enum (or tagged union from C), go is very awkward to use compared with richer languages like Swift or Rust. Go is also awkward if you want to implement custom generic data structures.
Eg, this[1] code I wrote a couple years ago for doing text based operational transform became about 1.5x longer in Go compared to rust or typescript because its so awkward to express a parametric enum in go. And it was much harder to read & more buggy as a result. Sadly I lost the go version of the code. I'd be curious if someone with more go experience could do a better job, but I'm skeptical.
Hopefully the situation improves somewhat when generics land.
[1] https://github.com/josephg/textot.rs/blob/03c84b7c35a375ba7d...
What are some alternatives?
bytehound - A memory profiler for Linux.
goimports - [mirror] Go Tools
heaptrack - A heap memory profiler for Linux
heappy - heap profiler for rust
dhat-rs - Heap profiling and ad hoc profiling for Rust programs.
go - The Go programming language
goawk - A POSIX-compliant AWK interpreter written in Go, with CSV support