You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by pschichtel June 22, 2022
As part of the performance work I've been doing on the project I work on, I ended up completely rewriting the GelfEncoder to avoid allocations and remove overhead.
Discussed in #83
Originally posted by pschichtel June 22, 2022
As part of the performance work I've been doing on the project I work on, I ended up completely rewriting the GelfEncoder to avoid allocations and remove overhead.
https://gist.github.com/pschichtel/cb5556b9d5b681e1e77afabb749186e9
I implemented it using Jackson and Kotlin, since we are using those anyway, so I don't expect any of this to be merged.
This implementation is significantly faster and generates a lot fewer objects then the original one.
However while implementing this I noticed two "issues":
The former could easily be solved by making it a public constant, not so sure about the latter, but it is also not really a problem.
The text was updated successfully, but these errors were encountered: