コード例 #1
0
ファイル: benchmark_test.go プロジェクト: kunthar/pachyderm
func BenchmarkThreadProtoGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(foo) }, true)
}
コード例 #2
0
ファイル: benchmark_test.go プロジェクト: kunthar/pachyderm
func BenchmarkProtoLogrus(b *testing.B) {
	runBenchmarkLogrus(b, func() { protolog.Println(foo) }, true)
}
コード例 #3
0
ファイル: benchmark_test.go プロジェクト: kunthar/pachyderm
func BenchmarkFreeformlnLogrus(b *testing.B) {
	runBenchmarkLogrus(b, func() { protolog.Println(arg1, arg2) }, true)
}
コード例 #4
0
ファイル: benchmark_test.go プロジェクト: kunthar/pachyderm
func BenchmarkThreadFreeformlnGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(arg1, arg2) }, true)
}
コード例 #5
0
ファイル: benchmark_test.go プロジェクト: kunthar/pachyderm
func BenchmarkStringGLog(b *testing.B) {
	runBenchmarkGLog(b, func() { protolog.Println(fooString) }, false)
}