Add benchmarks for structured logging and improve output performance.