MCPcopy
hub / github.com/sirupsen/logrus / BenchmarkLargeTextFormatter

Function BenchmarkLargeTextFormatter

formatter_bench_test.go:62–64  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

60}
61
62func BenchmarkLargeTextFormatter(b *testing.B) {
63 doBenchmark(b, &TextFormatter{DisableColors: true}, largeFields)
64}
65
66func BenchmarkSmallColoredTextFormatter(b *testing.B) {
67 doBenchmark(b, &TextFormatter{ForceColors: true}, smallFields)

Callers

nothing calls this directly

Calls 1

doBenchmarkFunction · 0.85

Tested by

no test coverage detected