Please note the https://pkg.go.dev/runtime/trace package, its documentation and following article (https://go.dev/blog/execution-traces-2024) provide good examples to start logging the GC.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/dd7a31c6-4b6b-4ed0-b0f6-b13576efd467n%40googlegroups.com.