google / google/flogger

Log4j2LoggerBackend performance improvements

Open
#417 4 comments 0 reactions 0 assignees View on GitHub
P3 type=enhancement
Dominant language
Java
Stars
1.5k
Forks
133
Avg merge
6m
Merged PRs (30d)
7

Description

There are some inefficiencies in the Log4j2LoggerBackend, and I have a couple of PRs to make it faster.

I saw drastic improvements to throughput (7 times faster in my microbenchmark), and large reductions in allocations, when running performance tests against the Log4j2LoggerBackend after applying these patches:

- https://github.com/google/flogger/pull/418
- https://github.com/google/flogger/pull/419/

I have structured this as two PRs - the first one I hope will be uncontroversial. The second one may need some discussion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.