feat(ipfs2/main) port mem-profiling from previous main

was added 5 days ago in...

https://github.com/jbenet/go-ipfs/commit/7510ef2081e3787e97b815e69a676bd6fc75a9cd