An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/fjl/memsize

Package memsize computes the size of your object graph. So you made a spiffy algorithm and it works really well, but geez it's using way too much memory. Where did it all go? memsize to the rescue! To get started, find a value that references all your objects and scan it. This traverses the graph, counting sizes per type. memsize can handle cycles just fine and tracks both private and public struct fields. Unfortunately function closures cannot be inspected in any way.
2 versions
Latest release: almost 2 years ago
2,579 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/fjl/memsize

Dependent Repos 0