@@ -268,26 +268,26 @@ NOTE: the 1 allocation and B/op in the first 4 decodes is actually the struct al
268268go test -bench=. -benchmem=true
269269
270270PASS
271- BenchmarkSimpleUserDecodeStruct-8 5000000 293 ns/op 64 B /op 1 allocs/op
272- BenchmarkSimpleUserDecodeStructParallel-8 20000000 109 ns/op 64 B /op 1 allocs/op
273- BenchmarkSimpleUserEncodeStruct-8 2000000 815 ns/op 466 B /op 7 allocs/op
274- BenchmarkSimpleUserEncodeStructParallel-8 5000000 306 ns/op 466 B /op 7 allocs/op
275- BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 2000000 979 ns/op 96 B /op 1 allocs/op
276- BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 323 ns/op 96 B /op 1 allocs/op
277- BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4520 ns/op 2912 B /op 32 allocs/op
278- BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1618 ns/op 2913 B /op 32 allocs/op
279- BenchmarkComplexArrayDecodeStructAllTypes-8 100000 20862 ns/op 5496 B /op 151 allocs/op
280- BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 7240 ns/op 5496 B /op 151 allocs/op
281- BenchmarkComplexArrayEncodeStructAllTypes-8 100000 18295 ns/op 7191 B /op 154 allocs/op
282- BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 6066 ns/op 7190 B /op 154 allocs/op
283- BenchmarkComplexMapDecodeStructAllTypes-8 50000 32562 ns/op 16709 B /op 215 allocs/op
284- BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 13342 ns/op 16709 B /op 215 allocs/op
285- BenchmarkComplexMapEncodeStructAllTypes-8 100000 18274 ns/op 7096 B /op 177 allocs/op
286- BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 6543 ns/op 7097 B /op 177 allocs/op
287- BenchmarkDecodeNestedStruct-8 200000 5445 ns/op 1744 B /op 35 allocs/op
288- BenchmarkDecodeNestedStructParallel-8 1000000 2005 ns/op 1744 B /op 35 allocs/op
289- BenchmarkEncodeNestedStruct-8 500000 3022 ns/op 848 B /op 26 allocs/op
290- BenchmarkEncodeNestedStructParallel-8 1000000 1108 ns/op 848 B /op 26 allocs/op
271+ BenchmarkSimpleUserDecodeStruct-8 5000000 299 ns/op 64 B /op 1 allocs/op
272+ BenchmarkSimpleUserDecodeStructParallel-8 20000000 106 ns/op 64 B /op 1 allocs/op
273+ BenchmarkSimpleUserEncodeStruct-8 2000000 825 ns/op 466 B /op 7 allocs/op
274+ BenchmarkSimpleUserEncodeStructParallel-8 5000000 301 ns/op 466 B /op 7 allocs/op
275+ BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 2000000 901 ns/op 96 B /op 1 allocs/op
276+ BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 283 ns/op 96 B /op 1 allocs/op
277+ BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4302 ns/op 2912 B /op 32 allocs/op
278+ BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1542 ns/op 2913 B /op 32 allocs/op
279+ BenchmarkComplexArrayDecodeStructAllTypes-8 100000 18125 ns/op 2730 B /op 135 allocs/op
280+ BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 6178 ns/op 2734 B /op 135 allocs/op
281+ BenchmarkComplexArrayEncodeStructAllTypes-8 100000 17738 ns/op 7190 B /op 154 allocs/op
282+ BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 5360 ns/op 7192 B /op 154 allocs/op
283+ BenchmarkComplexMapDecodeStructAllTypes-8 50000 28476 ns/op 7567 B /op 163 allocs/op
284+ BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 9849 ns/op 7604 B /op 163 allocs/op
285+ BenchmarkComplexMapEncodeStructAllTypes-8 100000 18424 ns/op 7097 B /op 177 allocs/op
286+ BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 5852 ns/op 7096 B /op 177 allocs/op
287+ BenchmarkDecodeNestedStruct-8 200000 5199 ns/op 1040 B /op 31 allocs/op
288+ BenchmarkDecodeNestedStructParallel-8 1000000 1713 ns/op 1040 B /op 31 allocs/op
289+ BenchmarkEncodeNestedStruct-8 500000 3025 ns/op 848 B /op 26 allocs/op
290+ BenchmarkEncodeNestedStructParallel-8 1000000 1096 ns/op 848 B /op 26 allocs/op
291291```
292292
293293Competitor benchmarks can be found [ here] ( https://github.com/go-playground/form/blob/master/benchmarks/benchmarks.md )
0 commit comments