|
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) |
@@ -270,26 +270,26 @@ NOTE: the 1 allocation and B/op in the first 4 decodes is actually the struct al |
270 | 270 | go test -bench=. -benchmem=true |
271 | 271 |
|
272 | 272 | PASS |
273 | | -BenchmarkSimpleUserDecodeStruct-8 5000000 318 ns/op 64 B/op 1 allocs/op |
274 | | -BenchmarkSimpleUserDecodeStructParallel-8 20000000 95.2 ns/op 64 B/op 1 allocs/op |
275 | | -BenchmarkSimpleUserEncodeStruct-8 1000000 1000 ns/op 549 B/op 12 allocs/op |
276 | | -BenchmarkSimpleUserEncodeStructParallel-8 5000000 325 ns/op 549 B/op 12 allocs/op |
277 | | -BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 1000000 1058 ns/op 96 B/op 1 allocs/op |
278 | | -BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 324 ns/op 96 B/op 1 allocs/op |
279 | | -BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4823 ns/op 3073 B/op 47 allocs/op |
280 | | -BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1732 ns/op 3072 B/op 47 allocs/op |
281 | | -BenchmarkComplexArrayDecodeStructAllTypes-8 100000 16340 ns/op 2289 B/op 122 allocs/op |
282 | | -BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 5105 ns/op 2291 B/op 122 allocs/op |
283 | | -BenchmarkComplexArrayEncodeStructAllTypes-8 100000 16343 ns/op 7351 B/op 147 allocs/op |
284 | | -BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 5969 ns/op 7351 B/op 147 allocs/op |
285 | | -BenchmarkComplexMapDecodeStructAllTypes-8 100000 21259 ns/op 5338 B/op 131 allocs/op |
286 | | -BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 7493 ns/op 5342 B/op 131 allocs/op |
287 | | -BenchmarkComplexMapEncodeStructAllTypes-8 100000 17060 ns/op 7161 B/op 176 allocs/op |
288 | | -BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 6421 ns/op 7161 B/op 176 allocs/op |
289 | | -BenchmarkDecodeNestedStruct-8 300000 3488 ns/op 416 B/op 15 allocs/op |
290 | | -BenchmarkDecodeNestedStructParallel-8 1000000 1203 ns/op 416 B/op 15 allocs/op |
291 | | -BenchmarkEncodeNestedStruct-8 1000000 2286 ns/op 768 B/op 17 allocs/op |
292 | | -BenchmarkEncodeNestedStructParallel-8 2000000 939 ns/op 768 B/op 17 allocs/op |
| 273 | +BenchmarkSimpleUserDecodeStruct-8 5000000 336 ns/op 64 B/op 1 allocs/op |
| 274 | +BenchmarkSimpleUserDecodeStructParallel-8 20000000 99.5 ns/op 64 B/op 1 allocs/op |
| 275 | +BenchmarkSimpleUserEncodeStruct-8 2000000 972 ns/op 485 B/op 11 allocs/op |
| 276 | +BenchmarkSimpleUserEncodeStructParallel-8 5000000 329 ns/op 485 B/op 11 allocs/op |
| 277 | +BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8 1000000 1014 ns/op 96 B/op 1 allocs/op |
| 278 | +BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8 5000000 294 ns/op 96 B/op 1 allocs/op |
| 279 | +BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8 300000 4799 ns/op 3009 B/op 46 allocs/op |
| 280 | +BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8 1000000 1581 ns/op 3010 B/op 46 allocs/op |
| 281 | +BenchmarkComplexArrayDecodeStructAllTypes-8 100000 16326 ns/op 2257 B/op 121 allocs/op |
| 282 | +BenchmarkComplexArrayDecodeStructAllTypesParallel-8 300000 4710 ns/op 2257 B/op 121 allocs/op |
| 283 | +BenchmarkComplexArrayEncodeStructAllTypes-8 100000 16303 ns/op 7288 B/op 146 allocs/op |
| 284 | +BenchmarkComplexArrayEncodeStructAllTypesParallel-8 300000 4979 ns/op 7290 B/op 146 allocs/op |
| 285 | +BenchmarkComplexMapDecodeStructAllTypes-8 100000 21998 ns/op 5306 B/op 130 allocs/op |
| 286 | +BenchmarkComplexMapDecodeStructAllTypesParallel-8 200000 6542 ns/op 5308 B/op 130 allocs/op |
| 287 | +BenchmarkComplexMapEncodeStructAllTypes-8 100000 17069 ns/op 7100 B/op 175 allocs/op |
| 288 | +BenchmarkComplexMapEncodeStructAllTypesParallel-8 300000 5609 ns/op 7099 B/op 175 allocs/op |
| 289 | +BenchmarkDecodeNestedStruct-8 500000 3366 ns/op 384 B/op 14 allocs/op |
| 290 | +BenchmarkDecodeNestedStructParallel-8 2000000 1096 ns/op 384 B/op 14 allocs/op |
| 291 | +BenchmarkEncodeNestedStruct-8 1000000 2230 ns/op 704 B/op 16 allocs/op |
| 292 | +BenchmarkEncodeNestedStructParallel-8 2000000 780 ns/op 704 B/op 16 allocs/op |
293 | 293 | ``` |
294 | 294 |
|
295 | 295 | Competitor benchmarks can be found [here](https://github.com/go-playground/form/blob/master/benchmarks/benchmarks.md) |
|
0 commit comments