From 54e813615d88956eee6c76730935282066f58f05 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 3 Jul 2024 06:13:26 +0200 Subject: Generate JSON by hand. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This improves performance further. Before: Benchmark Mode Cnt Score Error Units FormatterBenchmark.massivelyStructuredLogRecord thrpt 10 137879.001 ± 30467.644 ops/s FormatterBenchmark.simpleLogRecord thrpt 10 896085.217 ± 249890.421 ops/s FormatterBenchmark.structuredLogRecord thrpt 10 553428.807 ± 194787.754 ops/s After: Benchmark Mode Cnt Score Error Units FormatterBenchmark.massivelyStructuredLogRecord thrpt 10 220855.729 ± 56336.321 ops/s FormatterBenchmark.simpleLogRecord thrpt 10 4456647.085 ± 1041546.047 ops/s FormatterBenchmark.structuredLogRecord thrpt 10 1500896.509 ± 543358.587 ops/s There is also a new benchmark: FormatterBenchmark.nestedLogRecord thrpt 10 878620.441 ± 297024.983 ops/s Change-Id: If3e323b133f8e3e3ff29431a92d1b1e500f9b8b2 --- core/pom.xml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'core/pom.xml') diff --git a/core/pom.xml b/core/pom.xml index 595cf38..5a97f43 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -32,11 +32,18 @@ SPDX-License-Identifier: LGPL-3.0-or-later 3.0.6.Final true + + jakarta.json + jakarta.json-api + 2.1.3 + io.smallrye.common smallrye-common-constraint 2.4.0 + + org.eclipse.parsson parsson @@ -57,16 +64,16 @@ SPDX-License-Identifier: LGPL-3.0-or-later - org.openjdk.jmh - jmh-core - 1.35 - test + org.openjdk.jmh + jmh-core + 1.35 + test - org.openjdk.jmh - jmh-generator-annprocess - 1.35 - test + org.openjdk.jmh + jmh-generator-annprocess + 1.35 + test -- cgit v1.2.3