btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.11k stars 2.32k forks source link

btcd: Add memory profiling flag #1953

Closed kcalvinalvin closed 1 year ago

kcalvinalvin commented 1 year ago

Enables Go memory profiling. If the cpuprofile shows a lot of time spent on gc, it's useful to then do a memory profile to see where the memory alloctions happen.

Unlike the --profile flag, this allows for easy generation of a memory profile for the entire duration of which btcd has been running for in various readble graphs.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4475766792


Changes Missing Coverage Covered Lines Changed/Added Lines %
btcd.go 0 9 0.0%
<!-- Total: 0 9 0.0% -->
Files with Coverage Reduction New Missed Lines %
mempool/mempool.go 1 66.75%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 4326890213: -0.01%
Covered Lines: 26650
Relevant Lines: 48213

💛 - Coveralls
Roasbeef commented 1 year ago

cc @Crypt-iQ