This commit is contained in:
Edward Muller 2019-10-13 17:45:50 -07:00
parent 46015a925f
commit d12cdc065f
No known key found for this signature in database
GPG Key ID: FC5833DB021899A5
1 changed files with 0 additions and 8 deletions

View File

@ -6,14 +6,6 @@ import (
"testing" "testing"
) )
// smallFields is a small size data set for benchmarking
var loggerFields = Fields{
"foo": "bar",
"baz": "qux",
"one": "two",
"three": "four",
}
func BenchmarkDummyLogger(b *testing.B) { func BenchmarkDummyLogger(b *testing.B) {
nullf, err := os.OpenFile("/dev/null", os.O_WRONLY, 0666) nullf, err := os.OpenFile("/dev/null", os.O_WRONLY, 0666)
if err != nil { if err != nil {