Skip to content

Release 1.9.0

Choose a tag to compare

@deankarn deankarn released this 09 Jul 15:22
· 66 commits to master since this release

Whats New?

  • Just some more minor backend performance updates inspired by Go 1.7 RC1 changes to the JSON package, parallel performance updated by 10-20% with latest changes.

benchmark                                                       old ns/op     new ns/op     delta
BenchmarkSimpleUserDecodeStruct-8                               319           308           -3.45%
BenchmarkSimpleUserDecodeStructParallel-8                       116           94.8          -18.28%
BenchmarkSimpleUserEncodeStruct-8                               1015          989           -2.56%
BenchmarkSimpleUserEncodeStructParallel-8                       411           332           -19.22%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8             1038          1004          -3.28%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8     368           291           -20.92%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8             5014          4771          -4.85%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8     1973          1575          -20.17%
BenchmarkComplexArrayDecodeStructAllTypes-8                     17656         17087         -3.22%
BenchmarkComplexArrayDecodeStructAllTypesParallel-8             5801          5020          -13.46%
BenchmarkComplexArrayEncodeStructAllTypes-8                     16318         16219         -0.61%
BenchmarkComplexArrayEncodeStructAllTypesParallel-8             5955          4961          -16.69%
BenchmarkComplexMapDecodeStructAllTypes-8                       25196         24898         -1.18%
BenchmarkComplexMapDecodeStructAllTypesParallel-8               9443          7771          -17.71%
BenchmarkComplexMapEncodeStructAllTypes-8                       17061         16885         -1.03%
BenchmarkComplexMapEncodeStructAllTypesParallel-8               6375          5851          -8.22%
BenchmarkDecodeNestedStruct-8                                   4102          3848          -6.19%
BenchmarkDecodeNestedStructParallel-8                           1399          1325          -5.29%
BenchmarkEncodeNestedStruct-8                                   2440          2319          -4.96%
BenchmarkEncodeNestedStructParallel-8                           1045          874           -16.36%

benchmark                                                       old allocs     new allocs     delta
BenchmarkSimpleUserDecodeStruct-8                               1              1              +0.00%
BenchmarkSimpleUserDecodeStructParallel-8                       1              1              +0.00%
BenchmarkSimpleUserEncodeStruct-8                               12             12             +0.00%
BenchmarkSimpleUserEncodeStructParallel-8                       12             12             +0.00%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8             1              1              +0.00%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8     1              1              +0.00%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8             47             47             +0.00%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8     47             47             +0.00%
BenchmarkComplexArrayDecodeStructAllTypes-8                     123            123            +0.00%
BenchmarkComplexArrayDecodeStructAllTypesParallel-8             123            123            +0.00%
BenchmarkComplexArrayEncodeStructAllTypes-8                     147            147            +0.00%
BenchmarkComplexArrayEncodeStructAllTypesParallel-8             147            147            +0.00%
BenchmarkComplexMapDecodeStructAllTypes-8                       135            135            +0.00%
BenchmarkComplexMapDecodeStructAllTypesParallel-8               135            135            +0.00%
BenchmarkComplexMapEncodeStructAllTypes-8                       176            176            +0.00%
BenchmarkComplexMapEncodeStructAllTypesParallel-8               176            176            +0.00%
BenchmarkDecodeNestedStruct-8                                   16             16             +0.00%
BenchmarkDecodeNestedStructParallel-8                           16             16             +0.00%
BenchmarkEncodeNestedStruct-8                                   17             17             +0.00%
BenchmarkEncodeNestedStructParallel-8                           17             17             +0.00%

benchmark                                                       old bytes     new bytes     delta
BenchmarkSimpleUserDecodeStruct-8                               64            64            +0.00%
BenchmarkSimpleUserDecodeStructParallel-8                       64            64            +0.00%
BenchmarkSimpleUserEncodeStruct-8                               549           549           +0.00%
BenchmarkSimpleUserEncodeStructParallel-8                       549           549           +0.00%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypes-8             96            96            +0.00%
BenchmarkPrimitivesDecodeStructAllPrimitivesTypesParallel-8     96            96            +0.00%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypes-8             3073          3073          +0.00%
BenchmarkPrimitivesEncodeStructAllPrimitivesTypesParallel-8     3072          3073          +0.03%
BenchmarkComplexArrayDecodeStructAllTypes-8                     2515          2513          -0.08%
BenchmarkComplexArrayDecodeStructAllTypesParallel-8             2518          2518          +0.00%
BenchmarkComplexArrayEncodeStructAllTypes-8                     7351          7350          -0.01%
BenchmarkComplexArrayEncodeStructAllTypesParallel-8             7351          7351          +0.00%
BenchmarkComplexMapDecodeStructAllTypes-8                       7089          7088          -0.01%
BenchmarkComplexMapDecodeStructAllTypesParallel-8               7123          7121          -0.03%
BenchmarkComplexMapEncodeStructAllTypes-8                       7162          7159          -0.04%
BenchmarkComplexMapEncodeStructAllTypesParallel-8               7160          7161          +0.01%
BenchmarkDecodeNestedStruct-8                                   640           640           +0.00%
BenchmarkDecodeNestedStructParallel-8                           640           640           +0.00%
BenchmarkEncodeNestedStruct-8                                   768           768           +0.00%
BenchmarkEncodeNestedStructParallel-8                           768           768           +0.00%