diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2024-07-03 06:13:26 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2024-07-03 06:13:26 +0200 |
commit | 54e813615d88956eee6c76730935282066f58f05 (patch) | |
tree | 32ab45ae5899ed058cd005d3f8c044b008be6359 /example/src/main/java | |
parent | 71ddcabc7a02c76771f7acf90559e1b1aa5ec907 (diff) |
Generate JSON by hand.
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
Diffstat (limited to 'example/src/main/java')
0 files changed, 0 insertions, 0 deletions