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
I have been doing some profiling recently on btcsuite/btcd and both the number one and number two functions in the entire app that cause the vast majority of allocations, and hence GC pressure, are the util.Hash function and the binary.Readthat it does.
The following is a cut down version from the profile. As you can see it is a whopping ~63% of all allocations!
I have been doing some profiling recently on btcsuite/btcd and both the number one and number two functions in the entire app that cause the vast majority of allocations, and hence GC pressure, are the
util.Hash
function and thebinary.Read
that it does.The following is a cut down version from the profile. As you can see it is a whopping ~63% of all allocations!
Listing the
util.Hash
function reveals:The text was updated successfully, but these errors were encountered: