inconshreveable / log15

Structured, composable logging for Go
https://godoc.org/github.com/inconshreveable/log15
Other
1.1k stars 144 forks source link

Add the benchmarks from uber-go/zap #90

Closed kevinburke closed 8 years ago

kevinburke commented 8 years ago

Here are the results:

BenchmarkLog15AddingFields-4                   50000         29492 ns/op
BenchmarkLog15WithAccumulatedContext-4         50000         33599 ns/op
BenchmarkLog15WithoutFields-4                 200000          9417 ns/op
kevinburke commented 8 years ago

Yuck, these also need to build for go1.3+ only

inconshreveable commented 8 years ago

I'm okay with that. edit: let's just support Go 1.3+ going forward.

kevinburke commented 8 years ago

fd9d99a

kevinburke commented 8 years ago

Gah, 8ae585ac22c8031d20673ec9e8b2478b7b0342ea