Пример #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)
}