From 29c3259e427c138af846400f64082bc0eed3f172 Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Thu, 13 Oct 2016 09:13:32 +0100 Subject: [PATCH] add (disabled) profiling instrumentation to example server --- example/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/example/main.go b/example/main.go index e0f3257b..5debcec1 100644 --- a/example/main.go +++ b/example/main.go @@ -100,6 +100,7 @@ func init() { } func main() { + // defer profile.Start().Stop() go func() { log.Println(http.ListenAndServe("localhost:6060", nil)) }()