Today I learned you could do: `go build -gcflags="-m -m"` to get escape analysis...

@purpleidea@mastodon.social

Today I learned you could do: `go build -gcflags="-m -m"` to get escape analysis information.

Is this what people commonly use in performance work when writing functions? Is there a better way? Is there a rough guide people follow?

I've never been great at memory management related things or performance engineering so trying to brush up a bit.