|
|
085aadaaef
|
test(log): add comprehensive benchmarks
Adds a new benchmark_test.go file with comprehensive benchmarks for the logging library:
Serial benchmarks:
- Trace, Debug, Info, Notice, Warn, Error levels
Formatted logging:
- Debugf, Infof, Errorf variants
Parallel benchmarks:
- DebugParallel, InfoParallel, InfofParallel
Logger instance (namespaced):
- LoggerInfo, LoggerInfof, LoggerDebugParallel
Multiple clients/namespaces:
- MultipleClients, MultipleNamespaces
Message size comparison:
- Short, Medium, Long messages
Level filtering overhead:
- DebugFilteredByLevel
Also removes the duplicate BenchmarkDebugSerial from log_test.go and applies minor whitespace formatting fixes.
Fixes #6
|
2026-02-10 08:04:08 +00:00 |
|