[
https://issues.apache.org/jira/browse/LOG4J2-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463338#comment-17463338
]
Ralph Goers edited comment on LOG4J2-3255 at 12/21/21, 4:21 PM:
----------------------------------------------------------------
What would have changed between 2.16.0 and 2.17.0 to improve it? I'd like to
know specifically which version the degradation shows up in so we can try to
pinpoint the cause. By any chance do you include locations in your log output?
was (Author: [email protected]):
What would have changed between 2.16.0 and 2.17.0 to improve it? I'd like to
know specifically which version the degradation shows up in so we can try to
pinpoint the cause.
> Performance Benchmarking shows 20% degradation in
> FileAppenderBenchmark.log4j2file between Log4j2 v2.12.0 & v2.16.0
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-3255
> URL: https://issues.apache.org/jira/browse/LOG4J2-3255
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.16.0
> Environment: Mac
> # JMH version: 1.21
> # VM version: JDK 9, OpenJDK 64-Bit Server VM, 9+181
> # VM invoker:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-9.jdk/Contents/Home/bin/java
> # VM options: --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
> # Warmup: 10 iterations, 10 s each
> # Measurement: 20 iterations, 10 s each
> # Timeout: 10 min per iteration
> # Threads: 1 thread, will synchronize iterations
> # Benchmark mode: Throughput, ops/time
> # Benchmark:
> org.apache.logging.log4j.perf.jmh.FileAppenderBenchmark.log4j2file
> Reporter: Kranti Vikram
> Priority: Major
> Attachments: Screenshot 2021-12-17 at 9.39.13 PM.png
>
>
> Performance Benchmarking shows 20% degradation in
> FileAppenderBenchmark.log4j2file between Log4j2 v2.12.0 & v2.16.0
>
> |Benchmark|2.12.0 op/sec|2.16.0 op/sec|
> |FileAppenderBenchmark.log4j2File|84115.661|68789.212|
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)