From e32e3a759c4c06bbfa0f30acacde90426f1edf81 Mon Sep 17 00:00:00 2001 From: JessonChan Date: Tue, 12 Jan 2016 17:46:10 +0800 Subject: [PATCH] console type no need to bench --- logs/console_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/logs/console_test.go b/logs/console_test.go index 2fad7241..c4bb1da2 100644 --- a/logs/console_test.go +++ b/logs/console_test.go @@ -43,11 +43,3 @@ func TestConsole(t *testing.T) { testConsoleCalls(log2) } -func BenchmarkConsole(b *testing.B) { - log := NewLogger(10000) - log.EnableFuncCallDepth(true) - log.SetLogger("console", "") - for i := 0; i < b.N; i++ { - log.Debug("debug") - } -}