Skip to content

Commit

Permalink
feat(wirey): adds cpu profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Sreerama committed Aug 20, 2024
1 parent ec76a43 commit 41ae187
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cmd/wirey/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
package main

import (
"log"
"net/http"
_ "net/http/pprof"
)

func main() {

go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()

Execute()
}

0 comments on commit 41ae187

Please sign in to comment.