forked from karrick/goavro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmark_test.go
51 lines (38 loc) · 1.51 KB
/
benchmark_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package goavro_test
import "testing"
func BenchmarkNewCodecUsingV4(b *testing.B) {
benchmarkNewCodecUsingV4(b, "fixtures/quickstop.avsc")
}
func BenchmarkNewCodecUsingV5(b *testing.B) {
benchmarkNewCodecUsingV5(b, "fixtures/quickstop.avsc")
}
func BenchmarkNativeFromAvroUsingV4(b *testing.B) {
benchmarkNativeFromAvroUsingV4(b, "fixtures/quickstop-null.avro")
}
func BenchmarkNativeFromAvroUsingV5(b *testing.B) {
benchmarkNativeFromAvroUsingV5(b, "fixtures/quickstop-null.avro")
}
func BenchmarkBinaryFromNativeUsingV4(b *testing.B) {
benchmarkBinaryFromNativeUsingV4(b, "fixtures/quickstop-null.avro")
}
func BenchmarkBinaryFromNativeUsingV5(b *testing.B) {
benchmarkBinaryFromNativeUsingV5(b, "fixtures/quickstop-null.avro")
}
func BenchmarkNativeFromBinaryUsingV4(b *testing.B) {
benchmarkNativeFromBinaryUsingV4(b, "fixtures/quickstop-null.avro")
}
func BenchmarkNativeFromBinaryUsingV5(b *testing.B) {
benchmarkNativeFromBinaryUsingV5(b, "fixtures/quickstop-null.avro")
}
func BenchmarkTextualFromNativeUsingJSONMarshal(b *testing.B) {
benchmarkTextualFromNativeUsingJSONMarshal(b, "fixtures/quickstop-null.avro")
}
func BenchmarkTextualFromNativeUsingV5(b *testing.B) {
benchmarkTextualFromNativeUsingV5(b, "fixtures/quickstop-null.avro")
}
func BenchmarkNativeFromTextualUsingJSONUnmarshal(b *testing.B) {
benchmarkNativeFromTextualUsingJSONUnmarshal(b, "fixtures/quickstop-null.avro")
}
func BenchmarkNativeFromTextualUsingV5(b *testing.B) {
benchmarkNativeFromTextualUsingV5(b, "fixtures/quickstop-null.avro")
}