TBR vom: additional benchmarks for vom

BenchmarkNumberSingleShotEncodeReflect-12               	  300000
5073 ns/op
BenchmarkNumberRepeatedEncodeReflect-12                 	 2000000
593 ns/op
BenchmarkNumberSingleShotDecodeReflect-12               	  500000
2599 ns/op
BenchmarkNumberRepeatedDecodeReflect-12                 	 1000000
2017 ns/op
BenchmarkNumberSingleShotEncode-12                      	  300000
5350 ns/op
BenchmarkNumberRepeatedEncode-12                        	 2000000
678 ns/op
BenchmarkNumberSingleShotDecode-12                      	  500000
2581 ns/op
BenchmarkNumberRepeatedDecode-12                        	 1000000
1924 ns/op
BenchmarkSmallStringSingleShotEncodeReflect-12          	  300000
5069 ns/op
BenchmarkSmallStringRepeatedEncodeReflect-12            	 3000000
598 ns/op
BenchmarkSmallStringSingleShotDecodeReflect-12          	  500000
2838 ns/op
BenchmarkSmallStringRepeatedDecodeReflect-12            	 1000000
1964 ns/op
BenchmarkSmallStringSingleShotEncode-12                 	  300000
5221 ns/op
BenchmarkSmallStringRepeatedEncode-12                   	 2000000
724 ns/op
BenchmarkSmallStringSingleShotDecode-12                 	  500000
2861 ns/op
BenchmarkSmallStringRepeatedDecode-12                   	 1000000
1960 ns/op
BenchmarkLargeStringSingleShotEncodeReflect-12          	   20000
62191 ns/op
BenchmarkLargeStringRepeatedEncodeReflect-12            	   20000
100069 ns/op
BenchmarkLargeStringSingleShotDecodeReflect-12          	   30000
42411 ns/op
BenchmarkLargeStringRepeatedDecodeReflect-12            	   50000
26685 ns/op
BenchmarkLargeStringSingleShotEncode-12                 	   10000
147956 ns/op
BenchmarkLargeStringRepeatedEncode-12                   	   30000
45944 ns/op
BenchmarkLargeStringSingleShotDecode-12                 	   20000
89918 ns/op
BenchmarkLargeStringRepeatedDecode-12                   	   50000
25801 ns/op
BenchmarkEnumSingleShotEncode-12                        	  200000
7918 ns/op
BenchmarkEnumRepeatedEncode-12                          	 2000000
672 ns/op
BenchmarkEnumSingleShotDecode-12                        	  500000
2975 ns/op
BenchmarkEnumRepeatedDecode-12                          	 1000000
1943 ns/op
BenchmarkSmallByteListSingleShotEncodeReflect-12        	  200000
6465 ns/op
BenchmarkSmallByteListRepeatedEncodeReflect-12          	 2000000
590 ns/op
BenchmarkSmallByteListSingleShotDecodeReflect-12        	  500000
3198 ns/op
BenchmarkSmallByteListRepeatedDecodeReflect-12          	 1000000
2069 ns/op
BenchmarkSmallByteListSingleShotEncode-12               	  200000
6535 ns/op
BenchmarkSmallByteListRepeatedEncode-12                 	 2000000
735 ns/op
BenchmarkSmallByteListSingleShotDecode-12               	  500000
3219 ns/op
BenchmarkSmallByteListRepeatedDecode-12                 	 1000000
2228 ns/op
BenchmarkLargeByteListSingleShotEncodeReflect-12        	   10000
109278 ns/op
BenchmarkLargeByteListRepeatedEncodeReflect-12          	   30000
37174 ns/op
BenchmarkLargeByteListSingleShotDecodeReflect-12        	   20000
93087 ns/op
BenchmarkLargeByteListRepeatedDecodeReflect-12          	   50000
30970 ns/op
BenchmarkLargeByteListSingleShotEncode-12               	   10000
109370 ns/op
BenchmarkLargeByteListRepeatedEncode-12                 	   30000
37263 ns/op
BenchmarkLargeByteListSingleShotDecode-12               	   20000
92600 ns/op
BenchmarkLargeByteListRepeatedDecode-12                 	   50000
30048 ns/op
BenchmarkByteArraySingleShotEncodeReflect-12            	  200000
7574 ns/op
BenchmarkByteArrayRepeatedEncodeReflect-12              	 2000000
923 ns/op
BenchmarkByteArraySingleShotDecodeReflect-12            	  500000
3306 ns/op
BenchmarkByteArrayRepeatedDecodeReflect-12              	 1000000
2148 ns/op
BenchmarkByteArraySingleShotEncode-12                   	  200000
7129 ns/op
BenchmarkByteArrayRepeatedEncode-12                     	 2000000
660 ns/op
BenchmarkByteArraySingleShotDecode-12                   	  500000
3255 ns/op
BenchmarkByteArrayRepeatedDecode-12                     	 1000000
2121 ns/op
BenchmarkArraySingleShotEncodeReflect-12                	  200000
7785 ns/op
BenchmarkArrayRepeatedEncodeReflect-12                  	 1000000
1590 ns/op
BenchmarkArraySingleShotDecodeReflect-12                	  300000
5203 ns/op
BenchmarkArrayRepeatedDecodeReflect-12                  	  300000
4255 ns/op
BenchmarkArraySingleShotEncode-12                       	  200000
7173 ns/op
BenchmarkArrayRepeatedEncode-12                         	 1000000
1112 ns/op
BenchmarkArraySingleShotDecode-12                       	  300000
5282 ns/op
BenchmarkArrayRepeatedDecode-12                         	  300000
4632 ns/op
BenchmarkSmallListSingleShotEncodeReflect-12            	  200000
7787 ns/op
BenchmarkSmallListRepeatedEncodeReflect-12              	 1000000
1605 ns/op
BenchmarkSmallListSingleShotDecodeReflect-12            	  200000
6154 ns/op
BenchmarkSmallListRepeatedDecodeReflect-12              	  300000
5166 ns/op
BenchmarkSmallListSingleShotEncode-12                   	  200000
7138 ns/op
BenchmarkSmallListRepeatedEncode-12                     	 1000000
1130 ns/op
BenchmarkSmallListSingleShotDecode-12                   	  200000
6115 ns/op
BenchmarkSmallListRepeatedDecode-12                     	  300000
5362 ns/op
BenchmarkLargeListSingleShotEncodeReflect-12            	     100
20688482 ns/op
BenchmarkLargeListRepeatedEncodeReflect-12              	     100
20119290 ns/op
BenchmarkLargeListSingleShotDecodeReflect-12            	      30
42958001 ns/op
BenchmarkLargeListRepeatedDecodeReflect-12              	      30
38710031 ns/op
BenchmarkLargeListSingleShotEncode-12                   	     200
7261921 ns/op
BenchmarkLargeListRepeatedEncode-12                     	     200
7154012 ns/op
BenchmarkLargeListSingleShotDecode-12                   	      30
41995417 ns/op
BenchmarkLargeListRepeatedDecode-12                     	      30
41641724 ns/op
BenchmarkSmallListAnySingleShotEncodeReflect-12         	   50000
27630 ns/op
BenchmarkSmallListAnyRepeatedEncodeReflect-12           	  100000
24664 ns/op
BenchmarkSmallListAnySingleShotDecodeReflect-12         	  200000
7278 ns/op
BenchmarkSmallListAnyRepeatedDecodeReflect-12           	  200000
5782 ns/op
BenchmarkSmallListAnySingleShotEncode-12                	   50000
25112 ns/op
BenchmarkSmallListAnyRepeatedEncode-12                  	  100000
22035 ns/op
BenchmarkSmallListAnySingleShotDecode-12                	  200000
7290 ns/op
BenchmarkSmallListAnyRepeatedDecode-12                  	  300000
5464 ns/op
BenchmarkLargeListAnySingleShotEncodeReflect-12         	       1
1016234130 ns/op
BenchmarkLargeListAnyRepeatedEncodeReflect-12           	       3
475013817 ns/op
BenchmarkLargeListAnySingleShotDecodeReflect-12         	       1
1080467138 ns/op
BenchmarkLargeListAnyRepeatedDecodeReflect-12           	      30
53588111 ns/op
BenchmarkLargeListAnySingleShotEncode-12                	       2
722666345 ns/op
BenchmarkLargeListAnyRepeatedEncode-12                  	       3
423803048 ns/op
BenchmarkLargeListAnySingleShotDecode-12                	       1
1008968920 ns/op
BenchmarkLargeListAnyRepeatedDecode-12                  	      30
45890530 ns/op
BenchmarkSetSingleShotEncode-12                         	  200000
7376 ns/op
BenchmarkSetRepeatedEncode-12                           	 1000000
1244 ns/op
BenchmarkSetSingleShotDecode-12                         	  200000
8453 ns/op
BenchmarkSetRepeatedDecode-12                           	  200000
7533 ns/op
BenchmarkMapSingleShotEncodeReflect-12                  	  200000
11115 ns/op
BenchmarkMapRepeatedEncodeReflect-12                    	  500000
3875 ns/op
BenchmarkMapSingleShotDecodeReflect-12                  	  200000
9979 ns/op
BenchmarkMapRepeatedDecodeReflect-12                    	  200000
8771 ns/op
BenchmarkMapSingleShotEncode-12                         	  200000
8118 ns/op
BenchmarkMapRepeatedEncode-12                           	 1000000
1648 ns/op
BenchmarkMapSingleShotDecode-12                         	  200000
9978 ns/op
BenchmarkMapRepeatedDecode-12                           	  200000
8777 ns/op
BenchmarkSmallStructSingleShotEncodeReflect-12          	  200000
10956 ns/op
BenchmarkSmallStructRepeatedEncodeReflect-12            	  500000
2310 ns/op
BenchmarkSmallStructSingleShotDecodeReflect-12          	  200000
9628 ns/op
BenchmarkSmallStructRepeatedDecodeReflect-12            	  200000
8371 ns/op
BenchmarkSmallStructSingleShotEncode-12                 	  200000
9712 ns/op
BenchmarkSmallStructRepeatedEncode-12                   	 1000000
1336 ns/op
BenchmarkSmallStructSingleShotDecode-12                 	  200000
9606 ns/op
BenchmarkSmallStructRepeatedDecode-12                   	  200000
8324 ns/op
BenchmarkLargeStructSingleShotEncodeReflect-12          	   30000
44484 ns/op
BenchmarkLargeStructRepeatedEncodeReflect-12            	  100000
15130 ns/op
BenchmarkLargeStructSingleShotDecodeReflect-12          	   10000
102586 ns/op
BenchmarkLargeStructRepeatedDecodeReflect-12            	   10000
103175 ns/op
BenchmarkLargeStructSingleShotEncode-12                 	   30000
44216 ns/op
BenchmarkLargeStructRepeatedEncode-12                   	  100000
15083 ns/op
BenchmarkLargeStructSingleShotDecode-12                 	   10000
102492 ns/op
BenchmarkLargeStructRepeatedDecode-12                   	   10000
104029 ns/op
BenchmarkLargeStructZeroFieldsSingleShotEncodeReflect-12	   50000
30418 ns/op
BenchmarkLargeStructZeroFieldsRepeatedEncodeReflect-12  	 1000000
1345 ns/op
BenchmarkLargeStructZeroFieldsSingleShotDecodeReflect-12	   10000
110427 ns/op
BenchmarkLargeStructZeroFieldsRepeatedDecodeReflect-12  	   10000
108217 ns/op
BenchmarkLargeStructZeroFieldsSingleShotEncode-12       	   50000
32034 ns/op
BenchmarkLargeStructZeroFieldsRepeatedEncode-12         	 1000000
1347 ns/op
BenchmarkLargeStructZeroFieldsSingleShotDecode-12       	   10000
111223 ns/op
BenchmarkLargeStructZeroFieldsRepeatedDecode-12         	   10000
109199 ns/op
BenchmarkSmallUnionSingleShotEncode-12                  	  200000
9071 ns/op
BenchmarkSmallUnionRepeatedEncode-12                    	 2000000
940 ns/op
BenchmarkSmallUnionSingleShotDecode-12                  	  200000
6124 ns/op
BenchmarkSmallUnionRepeatedDecode-12                    	  300000
5060 ns/op
BenchmarkTimeSingleShotEncodeReflect-12                 	  200000
10325 ns/op
BenchmarkTimeRepeatedEncodeReflect-12                   	  500000
2462 ns/op
BenchmarkTimeSingleShotDecodeReflect-12                 	  200000
8854 ns/op
BenchmarkTimeRepeatedDecodeReflect-12                   	  200000
7610 ns/op
BenchmarkBlessingsSingleShotEncodeReflect-12            	   30000
53378 ns/op
BenchmarkBlessingsRepeatedEncodeReflect-12              	  200000
13398 ns/op
BenchmarkBlessingsSingleShotDecodeReflect-12            	   20000
81392 ns/op
BenchmarkBlessingsRepeatedDecodeReflect-12              	   20000
90086 ns/op
BenchmarkRpcRequestZeroSingleShotEncode-12              	   20000
67410 ns/op
BenchmarkRpcRequestZeroRepeatedEncode-12                	 1000000
1320 ns/op
BenchmarkRpcRequestZeroSingleShotDecode-12              	   50000
43770 ns/op
BenchmarkRpcRequestZeroRepeatedDecode-12                	   30000
36843 ns/op
BenchmarkRpcRequestFullSingleShotEncode-12              	   20000
85788 ns/op
BenchmarkRpcRequestFullRepeatedEncode-12                	  100000
11645 ns/op
BenchmarkRpcRequestFullSingleShotDecode-12              	   10000
115240 ns/op
BenchmarkRpcRequestFullRepeatedDecode-12                	   10000
110900 ns/op
BenchmarkRpcResponseZeroSingleShotEncode-12             	   20000
66568 ns/op
BenchmarkRpcResponseZeroRepeatedEncode-12               	 1000000
2282 ns/op
BenchmarkRpcResponseZeroSingleShotDecode-12             	  100000
16137 ns/op
BenchmarkRpcResponseZeroRepeatedDecode-12               	  100000
14285 ns/op
BenchmarkRpcResponseFullSingleShotEncode-12             	   20000
91962 ns/op
BenchmarkRpcResponseFullRepeatedEncode-12               	   50000
23801 ns/op
BenchmarkRpcResponseFullSingleShotDecode-12             	   30000
49080 ns/op
BenchmarkRpcResponseFullRepeatedDecode-12               	   30000
43877 ns/op

Change-Id: I1f167e1292b5460b3d887c948f3b291c7fc22a53
12 files changed