示例#1
0
func BenchmarkThreadProtoGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(foo) }, true)
}
示例#2
0
func BenchmarkProtoLogrus(b *testing.B) {
	runBenchmarkLogrus(b, func() { protolog.Println(foo) }, true)
}
示例#3
0
func BenchmarkFreeformlnLogrus(b *testing.B) {
	runBenchmarkLogrus(b, func() { protolog.Println(arg1, arg2) }, true)
}
示例#4
0
func BenchmarkThreadFreeformlnGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(arg1, arg2) }, true)
}
示例#5
0
func BenchmarkStringGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(fooString) }, false)
}