Source: https://github.com/uber-go/zap
Golang v1.15 PopOS! 20.04.1 i5-8250U, 16GB RAM
Source: https://github.com/uber-go/zap
Golang v1.15 PopOS! 20.04.1 i5-8250U, 16GB RAM
goos: linux | |
goarch: amd64 | |
pkg: go.uber.org/zap/benchmarks | |
BenchmarkDisabledWithoutFields/Zap-8 494111276 2.72 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledWithoutFields/Zap.Check-8 527605813 1.94 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledWithoutFields/Zap.Sugar-8 96020924 10.6 ns/op 16 B/op 1 allocs/op | |
BenchmarkDisabledWithoutFields/Zap.SugarFormatting-8 14038722 74.3 ns/op 176 B/op 6 allocs/op | |
BenchmarkDisabledWithoutFields/apex/log-8 870137596 1.37 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledWithoutFields/sirupsen/logrus-8 124526366 14.0 ns/op 16 B/op 1 allocs/op | |
BenchmarkDisabledWithoutFields/rs/zerolog-8 734257167 1.51 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAccumulatedContext/Zap-8 388951353 3.16 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAccumulatedContext/Zap.Check-8 480049938 2.54 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAccumulatedContext/Zap.Sugar-8 75318852 14.5 ns/op 16 B/op 1 allocs/op | |
BenchmarkDisabledAccumulatedContext/Zap.SugarFormatting-8 11144760 102 ns/op 176 B/op 6 allocs/op | |
BenchmarkDisabledAccumulatedContext/apex/log-8 1000000000 1.06 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAccumulatedContext/sirupsen/logrus-8 100000000 13.3 ns/op 16 B/op 1 allocs/op | |
BenchmarkDisabledAccumulatedContext/rs/zerolog-8 706744780 1.53 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAddingFields/Zap-8 4936086 239 ns/op 768 B/op 5 allocs/op | |
BenchmarkDisabledAddingFields/Zap.Check-8 484652168 2.62 ns/op 0 B/op 0 allocs/op | |
BenchmarkDisabledAddingFields/Zap.Sugar-8 10300664 116 ns/op 176 B/op 6 allocs/op | |
BenchmarkDisabledAddingFields/apex/log-8 2050150 579 ns/op 1214 B/op 11 allocs/op | |
BenchmarkDisabledAddingFields/sirupsen/logrus-8 1304349 900 ns/op 1565 B/op 12 allocs/op | |
BenchmarkDisabledAddingFields/rs/zerolog-8 14093563 88.3 ns/op 128 B/op 4 allocs/op | |
BenchmarkWithoutFields/Zap-8 4668253 274 ns/op 0 B/op 0 allocs/op | |
BenchmarkWithoutFields/Zap.Check-8 4706422 259 ns/op 0 B/op 0 allocs/op | |
BenchmarkWithoutFields/Zap.CheckSampled-8 15981232 91.6 ns/op 0 B/op 0 allocs/op | |
BenchmarkWithoutFields/Zap.Sugar-8 2825616 380 ns/op 80 B/op 2 allocs/op | |
BenchmarkWithoutFields/Zap.SugarFormatting-8 157671 9784 ns/op 2055 B/op 58 allocs/op | |
BenchmarkWithoutFields/apex/log-8 368374 3454 ns/op 344 B/op 6 allocs/op | |
BenchmarkWithoutFields/go-kit/kit/log-8 1413673 840 ns/op 640 B/op 11 allocs/op | |
BenchmarkWithoutFields/inconshreveable/log15-8 130975 8409 ns/op 1784 B/op 22 allocs/op | |
BenchmarkWithoutFields/sirupsen/logrus-8 204028 4911 ns/op 1194 B/op 24 allocs/op | |
BenchmarkWithoutFields/stdlib.Println-8 2738899 507 ns/op 80 B/op 2 allocs/op | |
BenchmarkWithoutFields/stdlib.Printf-8 225488 6188 ns/op 2049 B/op 58 allocs/op | |
BenchmarkWithoutFields/rs/zerolog-8 6396298 211 ns/op 0 B/op 0 allocs/op | |
BenchmarkWithoutFields/rs/zerolog.Formatting-8 184765 6292 ns/op 2050 B/op 58 allocs/op | |
BenchmarkWithoutFields/rs/zerolog.Check-8 6314342 189 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/Zap-8 4275696 295 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/Zap.Check-8 3670503 332 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/Zap.CheckSampled-8 13526653 96.3 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/Zap.Sugar-8 2884374 376 ns/op 80 B/op 2 allocs/op | |
BenchmarkAccumulatedContext/Zap.SugarFormatting-8 183042 6888 ns/op 2058 B/op 58 allocs/op | |
BenchmarkAccumulatedContext/apex/log-8 41131 28929 ns/op 3406 B/op 55 allocs/op | |
BenchmarkAccumulatedContext/go-kit/kit/log-8 98233 10468 ns/op 3785 B/op 58 allocs/op | |
BenchmarkAccumulatedContext/inconshreveable/log15-8 37994 29549 ns/op 3442 B/op 72 allocs/op | |
BenchmarkAccumulatedContext/sirupsen/logrus-8 39752 32688 ns/op 4194 B/op 68 allocs/op | |
BenchmarkAccumulatedContext/rs/zerolog-8 8371233 180 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/rs/zerolog.Check-8 6598675 185 ns/op 0 B/op 0 allocs/op | |
BenchmarkAccumulatedContext/rs/zerolog.Formatting-8 210709 6127 ns/op 2050 B/op 58 allocs/op | |
BenchmarkAddingFields/Zap-8 379664 3161 ns/op 770 B/op 5 allocs/op | |
BenchmarkAddingFields/Zap.Check-8 465789 2266 ns/op 770 B/op 5 allocs/op | |
BenchmarkAddingFields/Zap.CheckSampled-8 2849872 372 ns/op 100 B/op 0 allocs/op | |
BenchmarkAddingFields/Zap.Sugar-8 403195 3166 ns/op 1557 B/op 10 allocs/op | |
BenchmarkAddingFields/apex/log-8 36300 31241 ns/op 4627 B/op 66 allocs/op | |
BenchmarkAddingFields/go-kit/kit/log-8 160993 11877 ns/op 3454 B/op 59 allocs/op | |
BenchmarkAddingFields/inconshreveable/log15-8 21980 46605 ns/op 6846 B/op 76 allocs/op | |
BenchmarkAddingFields/sirupsen/logrus-8 30498 37169 ns/op 5759 B/op 79 allocs/op | |
BenchmarkAddingFields/rs/zerolog-8 190928 9364 ns/op 2612 B/op 32 allocs/op | |
BenchmarkAddingFields/rs/zerolog.Check-8 146028 9260 ns/op 2612 B/op 32 allocs/op | |
PASS | |
ok go.uber.org/zap/benchmarks 92.903s |