From 92bf5d66b3c8447e096a35a6cf8c08f73f8167a3 Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 27 May 2017 19:14:25 +0200 Subject: [PATCH] remove profiling from typewriter example --- typewriter/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/typewriter/main.go b/typewriter/main.go index 820fb2c..d7691ff 100644 --- a/typewriter/main.go +++ b/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) }