summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 07448feb..470e4795 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -36,23 +36,13 @@ import (
"github.com/spf13/cobra"
_ "net/http/pprof"
- "os"
"log"
- "runtime/pprof"
"net/http"
)
var debugMode bool
func main() {
- f, err := os.Create("cpu.pprof")
- if err != nil {
- log.Fatal(err)
- }
-
- pprof.StartCPUProfile(f)
- defer pprof.StopCPUProfile()
-
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()