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