|
1 | 1 | Package form |
2 | 2 | ============ |
3 | 3 | <img align="right" src="https://raw.githubusercontent.com/go-playground/form/master/logo.jpg"> |
4 | | - |
| 4 | + |
5 | 5 | [](https://semaphoreci.com/joeybloggs/form) |
6 | 6 | [](https://coveralls.io/github/go-playground/form?branch=master) |
7 | 7 | [](https://goreportcard.com/report/github.com/go-playground/form) |
@@ -268,26 +268,26 @@ NOTE: the 1 allocation and B/op in the first 4 decodes is actually the struct al |
268 | 268 | go test -bench=. -benchmem=true |
269 | 269 |
|
270 | 270 | PASS |
271 | | -BenchmarkSimpleUserDecodeStruct-8 5000000 308 ns/op 64 B/op 1 allocs/op |
272 | | -BenchmarkSimpleUserDecodeStructParallel-8 20000000 94.8 ns/op 64 B/op 1 allocs/op |
273 | | -BenchmarkSimpleUserEncodeStruct-8 2000000 989 ns/op 549 B/op 12 allocs/op |
274 | | -BenchmarkSimpleUserEncodeStructParallel-8 5000000 332 ns/op 549 B/op 12 allocs/op |
275 | | -BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 1000000 1004 ns/op 96 B/op 1 allocs/op |
276 | | -BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 291 ns/op 96 B/op 1 allocs/op |
277 | | -BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4771 ns/op 3073 B/op 47 allocs/op |
278 | | -BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1575 ns/op 3073 B/op 47 allocs/op |
279 | | -BenchmarkComplexArrayDecodeStructAllTypes-8 100000 17087 ns/op 2513 B/op 123 allocs/op |
280 | | -BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 5020 ns/op 2518 B/op 123 allocs/op |
281 | | -BenchmarkComplexArrayEncodeStructAllTypes-8 100000 16219 ns/op 7350 B/op 147 allocs/op |
282 | | -BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 4961 ns/op 7351 B/op 147 allocs/op |
283 | | -BenchmarkComplexMapDecodeStructAllTypes-8 50000 24898 ns/op 7088 B/op 135 allocs/op |
284 | | -BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 7771 ns/op 7121 B/op 135 allocs/op |
285 | | -BenchmarkComplexMapEncodeStructAllTypes-8 100000 16885 ns/op 7159 B/op 176 allocs/op |
286 | | -BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 5851 ns/op 7161 B/op 176 allocs/op |
287 | | -BenchmarkDecodeNestedStruct-8 300000 3848 ns/op 640 B/op 16 allocs/op |
288 | | -BenchmarkDecodeNestedStructParallel-8 1000000 1325 ns/op 640 B/op 16 allocs/op |
289 | | -BenchmarkEncodeNestedStruct-8 500000 2319 ns/op 768 B/op 17 allocs/op |
290 | | -BenchmarkEncodeNestedStructParallel-8 2000000 874 ns/op 768 B/op 17 allocs/op |
| 271 | +BenchmarkSimpleUserDecodeStruct-8 5000000 298 ns/op 64 B/op 1 allocs/op |
| 272 | +BenchmarkSimpleUserDecodeStructParallel-8 20000000 91.4 ns/op 64 B/op 1 allocs/op |
| 273 | +BenchmarkSimpleUserEncodeStruct-8 2000000 966 ns/op 549 B/op 12 allocs/op |
| 274 | +BenchmarkSimpleUserEncodeStructParallel-8 5000000 313 ns/op 549 B/op 12 allocs/op |
| 275 | +BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 1000000 1010 ns/op 96 B/op 1 allocs/op |
| 276 | +BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 285 ns/op 96 B/op 1 allocs/op |
| 277 | +BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4718 ns/op 3073 B/op 47 allocs/op |
| 278 | +BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1673 ns/op 3072 B/op 47 allocs/op |
| 279 | +BenchmarkComplexArrayDecodeStructAllTypes-8 100000 16145 ns/op 2289 B/op 122 allocs/op |
| 280 | +BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 4943 ns/op 2291 B/op 122 allocs/op |
| 281 | +BenchmarkComplexArrayEncodeStructAllTypes-8 100000 16020 ns/op 7351 B/op 147 allocs/op |
| 282 | +BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 5129 ns/op 7351 B/op 147 allocs/op |
| 283 | +BenchmarkComplexMapDecodeStructAllTypes-8 100000 22933 ns/op 5338 B/op 131 allocs/op |
| 284 | +BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 6366 ns/op 5341 B/op 131 allocs/op |
| 285 | +BenchmarkComplexMapEncodeStructAllTypes-8 100000 16861 ns/op 7161 B/op 176 allocs/op |
| 286 | +BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 5159 ns/op 7160 B/op 176 allocs/op |
| 287 | +BenchmarkDecodeNestedStruct-8 500000 3482 ns/op 416 B/op 15 allocs/op |
| 288 | +BenchmarkDecodeNestedStructParallel-8 2000000 1011 ns/op 416 B/op 15 allocs/op |
| 289 | +BenchmarkEncodeNestedStruct-8 1000000 2255 ns/op 768 B/op 17 allocs/op |
| 290 | +BenchmarkEncodeNestedStructParallel-8 2000000 738 ns/op 768 B/op 17 allocs/op |
291 | 291 | ``` |
292 | 292 |
|
293 | 293 | Competitor benchmarks can be found [here](https://github.com/go-playground/form/blob/master/benchmarks/benchmarks.md) |
|
0 commit comments