Benchmarks

TODO: paste latest BenchmarkDotNet output and chart commentary.

Reference setup: AMD Ryzen 9 9950X3D, .NET 10.0.7, BenchmarkDotNet 0.14.

S1 — Single short message

MethodMeanAllocated
OzaLog65.96 ns151 B
ZLogger219.53 ns278 B
ZeroLog12.19 ns0 B
Serilog168.87 ns160 B

S3 — HFT 8 thread × 50 products × 2000 logs

MethodMeanAllocated
OzaLog3,047 μs3.94 MB
ZLogger4,996 μs5.21 KB
ZeroLog649 μs3.35 KB
Serilog11,092 μs8.27 MB

→ Run yourself: dotnet run -c Release --project OzaLog.Benchmarks