Skip to content

Log4j2LoggerBackend performance improvements #417

@JerryShea

Description

@JerryShea

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions