From 15ea7f40cd7302b9bf9f0aea0d85a970a8a7c07f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 9 Jan 2026 23:26:31 +0200 Subject: Add Log4j2 benchmark tool - Configurable thread count, duration, message size - Multiple logging configurations: sync-immediate, sync-buffered - AsyncLogger variants: 1k, 4k, 10k, 1m ring buffer sizes - AsyncAppender variants: 1k, 4k, 10k, 1m buffer sizes - Subprocess isolation for proper async logger initialization - Cache dropping between tests for accurate benchmarks - CSV output support --- pom.xml | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 pom.xml (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ce7b4a7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,85 @@ + + + 4.0.0 + + com.example + log4jbench + 1.0-SNAPSHOT + jar + + + 17 + 17 + UTF-8 + 2.23.1 + + + + + org.apache.logging.log4j + log4j-api + ${log4j.version} + + + org.apache.logging.log4j + log4j-core + ${log4j.version} + + + com.lmax + disruptor + 3.4.4 + + + info.picocli + picocli + 4.7.5 + + + + + + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + bench.Main + + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.1 + + + package + + shade + + + + + bench.Main + + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + -- cgit v1.2.3