summaryrefslogtreecommitdiff
path: root/core/src/test
Commit message (Collapse)AuthorAgeFilesLines
* perf: Reuse a single JsonProvider.Matthias Andreas Benkard2024-06-231-4/+6
| | | | | | | | | | | | | | | | | | | | This speeds up the formatter significantly. Before: Benchmark Mode Cnt Score Error Units FormatterBenchmark.massivelyStructuredLogRecord thrpt 10 6552.727 ± 2169.572 ops/s FormatterBenchmark.simpleLogRecord thrpt 10 8126.699 ± 2259.912 ops/s FormatterBenchmark.structuredLogRecord thrpt 10 5594.849 ± 1129.151 ops/s After: 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 Change-Id: If184327a4ff0de0d92b769493dbf6270ba3a8c8e
* test: Add benchmark with many log entry fields.Matthias Andreas Benkard2024-06-232-0/+61
| | | | Change-Id: I9ef4ff2bc0ccd8c0b674b9e8cd0c1e93fbe445ff
* test: Add benchmarks.Matthias Andreas Benkard2024-06-232-13/+55
| | | | | | The benchmarks can be run using 'mvn verify -Pbenchmark'. Change-Id: I13058f52bea77aa3cb4f1967126c28e1e98d1838
* test: Add FormatterTest.Matthias Andreas Benkard2024-06-231-0/+88
Change-Id: Id627819583e8c9867b3950b7d8aac6830e5f3f80