openreplay/backend/pkg/pprof/pprof.go
2022-04-13 23:02:12 +02:00

13 lines
174 B
Go

package pprof
import (
"log"
"net/http"
_ "net/http/pprof"
)
func StartProfilingServer() {
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
}