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

Function BenchmarkLargeJSONFormatter

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

Source from the content-addressed store, hash-verified

76}
77
78func BenchmarkLargeJSONFormatter(b *testing.B) {
79 doBenchmark(b, &JSONFormatter{}, largeFields)
80}
81
82func doBenchmark(b *testing.B, formatter Formatter, fields Fields) {
83 logger := New()

Callers

nothing calls this directly

Calls 1

doBenchmarkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…