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

Function BenchmarkSmallJSONFormatter

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

Source from the content-addressed store, hash-verified

72}
73
74func BenchmarkSmallJSONFormatter(b *testing.B) {
75 doBenchmark(b, &JSONFormatter{}, smallFields)
76}
77
78func BenchmarkLargeJSONFormatter(b *testing.B) {
79 doBenchmark(b, &JSONFormatter{}, largeFields)

Callers

nothing calls this directly

Calls 1

doBenchmarkFunction · 0.85

Tested by

no test coverage detected