代码拉取完成,页面将自动刷新
$ cd $GOPATH/src/gitee.com/menciis/logx/_benchmarks
$ go get ./...
$ go test -v -bench=. -benchtime=20s
test | times ran (large is better) | ns/op (small is better) | B/op (small is better) | allocs/op (small is better) |
---|---|---|---|---|
BenchmarkGologPrint | 10000000 | 3749 ns/op | 890 B/op | 28 allocs/op |
BenchmarkLogrusPrint | 3000000 | 9609 ns/op | 1611 B/op | 64 allocs/op |
Feel free to send a PR of your own loger benchmark to put it here!
Date: Su 30 July 2017
Processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz 2.50Ghz
Ram: 8.00GB
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。