apex / log

Structured logging package for Go.
MIT License
1.37k stars 112 forks source link

Reducing allocations #99

Open kishaningithub opened 3 years ago

kishaningithub commented 3 years ago

First of all, thanks for creating this package.. i really love the simplicity of this code base. I could read the whole codebase and make sense out of it in 15 mins.

However one this that concerns me is the no of allocations as benchmarked here https://github.com/uber-go/zap#performance

Would like to use this place to huddle on improvements that can be done to reduce the no of allocations without sacrificing the simplicity of this codebase.

kishaningithub commented 3 years ago

https://chris124567.github.io/2021-06-21-go-performance/

This blog was very informative