add flag to enable pprof http server
run the server with --enable-pprof
flag to enable the pprof server, after which profiles can be viewed by going to http://localhost:6060/debug/pprof
more information about using these profiles with the go tool pprof
at: https://pkg.go.dev/net/http/pprof#hdr-Usage_examples