github.com/facebookincubator/go-belt@v0.0.0-20230703220935-39cd348f1a38/tool/logger/implementation/logrus/BENCHMARKS.txt (about) 1 goos: linux 2 goarch: amd64 3 pkg: github.com/facebookincubator/go-obs/tool/logger/implementation/logrus 4 cpu: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 5 BenchmarkWithFields/depth1/callLog-false/bare_logrus-16 2081280 551.9 ns/op 896 B/op 6 allocs/op 6 BenchmarkWithFields/depth1/callLog-false/adapted_logrus-16 4713654 249.6 ns/op 512 B/op 8 allocs/op 7 BenchmarkWithFields/depth1/callLog-true/bare_logrus-16 427244 2852 ns/op 1473 B/op 25 allocs/op 8 BenchmarkWithFields/depth1/callLog-true/adapted_logrus-16 662168 1865 ns/op 1242 B/op 25 allocs/op 9 BenchmarkWithFields/depth2/callLog-false/bare_logrus-16 847208 1325 ns/op 1792 B/op 12 allocs/op 10 BenchmarkWithFields/depth2/callLog-false/adapted_logrus-16 2292178 508.1 ns/op 1024 B/op 16 allocs/op 11 BenchmarkWithFields/depth2/callLog-true/bare_logrus-16 245160 4797 ns/op 2595 B/op 37 allocs/op 12 BenchmarkWithFields/depth2/callLog-true/adapted_logrus-16 559682 2136 ns/op 1755 B/op 33 allocs/op 13 BenchmarkWithFields/depth4/callLog-false/bare_logrus-16 281527 4089 ns/op 5440 B/op 24 allocs/op 14 BenchmarkWithFields/depth4/callLog-false/adapted_logrus-16 1221147 977.5 ns/op 2048 B/op 32 allocs/op 15 BenchmarkWithFields/depth4/callLog-true/bare_logrus-16 110418 11144 ns/op 8512 B/op 63 allocs/op 16 BenchmarkWithFields/depth4/callLog-true/adapted_logrus-16 371994 3190 ns/op 3654 B/op 49 allocs/op 17 BenchmarkWithFields/depth8/callLog-false/bare_logrus-16 80060 14559 ns/op 19891 B/op 50 allocs/op 18 BenchmarkWithFields/depth8/callLog-false/adapted_logrus-16 507052 2080 ns/op 4096 B/op 64 allocs/op 19 BenchmarkWithFields/depth8/callLog-true/bare_logrus-16 42153 28803 ns/op 26425 B/op 115 allocs/op 20 BenchmarkWithFields/depth8/callLog-true/adapted_logrus-16 249049 5053 ns/op 6884 B/op 81 allocs/op 21 BenchmarkWithFields/depth16/callLog-false/bare_logrus-16 23515 55796 ns/op 76860 B/op 111 allocs/op 22 BenchmarkWithFields/depth16/callLog-false/adapted_logrus-16 274687 4088 ns/op 8192 B/op 128 allocs/op 23 BenchmarkWithFields/depth16/callLog-true/bare_logrus-16 15406 77218 ns/op 90684 B/op 228 allocs/op 24 BenchmarkWithFields/depth16/callLog-true/adapted_logrus-16 143194 8382 ns/op 13549 B/op 146 allocs/op 25 BenchmarkWithFields/depth32/callLog-false/bare_logrus-16 6025 185448 ns/op 297908 B/op 253 allocs/op 26 BenchmarkWithFields/depth32/callLog-false/adapted_logrus-16 146812 7801 ns/op 16384 B/op 256 allocs/op 27 BenchmarkWithFields/depth32/callLog-true/bare_logrus-16 4884 238588 ns/op 326106 B/op 470 allocs/op 28 BenchmarkWithFields/depth32/callLog-true/adapted_logrus-16 77895 14921 ns/op 26370 B/op 274 allocs/op 29 BenchmarkWithFields/depth64/callLog-false/bare_logrus-16 1666 705184 ns/op 1162543 B/op 566 allocs/op 30 BenchmarkWithFields/depth64/callLog-false/adapted_logrus-16 65120 16116 ns/op 32768 B/op 512 allocs/op 31 BenchmarkWithFields/depth64/callLog-true/bare_logrus-16 1365 895116 ns/op 1222067 B/op 982 allocs/op 32 BenchmarkWithFields/depth64/callLog-true/adapted_logrus-16 39283 30294 ns/op 52397 B/op 530 allocs/op 33 BenchmarkWithFields/depth128/callLog-false/bare_logrus-16 411 2913838 ns/op 4716472 B/op 1212 allocs/op 34 BenchmarkWithFields/depth128/callLog-false/adapted_logrus-16 37930 32100 ns/op 65536 B/op 1024 allocs/op 35 BenchmarkWithFields/depth128/callLog-true/bare_logrus-16 382 3159596 ns/op 4855964 B/op 2029 allocs/op 36 BenchmarkWithFields/depth128/callLog-true/adapted_logrus-16 21060 57338 ns/op 107149 B/op 1042 allocs/op 37 BenchmarkWithFields/depth256/callLog-false/bare_logrus-16 96 12197207 ns/op 19199816 B/op 2300 allocs/op 38 BenchmarkWithFields/depth256/callLog-false/adapted_logrus-16 18909 62657 ns/op 131072 B/op 2048 allocs/op 39 BenchmarkWithFields/depth256/callLog-true/bare_logrus-16 92 12618632 ns/op 19510109 B/op 3901 allocs/op 40 BenchmarkWithFields/depth256/callLog-true/adapted_logrus-16 9967 118005 ns/op 213843 B/op 2066 allocs/op 41 PASS 42 ok github.com/facebookincubator/go-obs/tool/logger/implementation/logrus 51.294s