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

Function BenchmarkSmallTextFormatter

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

Source from the content-addressed store, hash-verified

56}
57
58func BenchmarkSmallTextFormatter(b *testing.B) {
59 doBenchmark(b, &TextFormatter{DisableColors: true}, smallFields)
60}
61
62func BenchmarkLargeTextFormatter(b *testing.B) {
63 doBenchmark(b, &TextFormatter{DisableColors: true}, largeFields)

Callers

nothing calls this directly

Calls 1

doBenchmarkFunction · 0.85

Tested by

no test coverage detected