From 9e0c65d8dda80b08f5e1d709510f607cf5295472 Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 27 May 2017 19:19:31 +0200 Subject: [PATCH] remove profiling from typewriter example --- examples/typewriter/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/typewriter/main.go b/examples/typewriter/main.go index 820fb2c..d7691ff 100644 --- a/examples/typewriter/main.go +++ b/examples/typewriter/main.go @@ -13,7 +13,6 @@ import ( "github.com/faiface/pixel/pixelgl" "github.com/faiface/pixel/text" "github.com/golang/freetype/truetype" - "github.com/pkg/profile" "golang.org/x/image/colornames" "golang.org/x/image/font" "golang.org/x/image/font/gofont/gobold" @@ -317,6 +316,5 @@ func run() { } func main() { - defer profile.Start(profile.MemProfile).Stop() pixelgl.Run(run) }