summaryrefslogtreecommitdiff
path: root/core/src/test/java/eu
Commit message (Collapse)AuthorAgeFilesLines
* test: Null-mark the unit tests.Matthias Andreas Benkard2024-07-201-6/+12
| | | | Change-Id: I0d7fc3443cacda222a58e6f098ebed4310bb4691
* docs: Fix license headers and REUSE information.Matthias Andreas Benkard2024-07-052-0/+8
| | | | Change-Id: Idb49db605a090b57dcf62b97855a4cf991421602
* feat: Add InsertId class.Matthias Andreas Benkard2024-07-031-1/+3
| | | | Change-Id: Id620972fea28922a453cbe95ad8467d84df8eca8
* Generate JSON by hand.Matthias Andreas Benkard2024-07-032-21/+76
| | | | | | | | | | | | | | | | | | | | | | | | 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
* 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