forked from mirror/logrus
deadcode
This commit is contained in:
parent
46015a925f
commit
d12cdc065f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue