fastjson2/docs/benchmark/benchmark_2.0.9_raw.md
2022-07-10 13:05:46 +08:00

9.3 KiB

zulu8.62.0.19-ca-jdk8.0.332-linux_x64

Benchmark                                  Mode  Cnt     Score    Error   Units
EishayParseBinary.fastjson2JSONB          thrpt    5  1667.258 ?  8.210  ops/ms
EishayParseBinary.fastjson2UTF8Bytes      thrpt    5  1052.999 ?  2.358  ops/ms
EishayParseBinary.hessian                 thrpt    5   287.171 ?  1.013  ops/ms
EishayParseBinary.javaSerialize           thrpt    5    46.642 ?  0.120  ops/ms
EishayParseString.fastjson1               thrpt    5  1003.131 ?  1.732  ops/ms
EishayParseString.fastjson2               thrpt    5  1316.161 ?  1.331  ops/ms
EishayParseString.jackson                 thrpt    5   525.316 ?  1.005  ops/ms
EishayParseStringPretty.fastjson1         thrpt    5   264.853 ?  0.510  ops/ms
EishayParseStringPretty.fastjson2         thrpt    5   969.634 ?  1.462  ops/ms
EishayParseStringPretty.jackson           thrpt    5   485.397 ?  1.252  ops/ms
EishayParseTreeString.fastjson1           thrpt    5   507.858 ?  0.773  ops/ms
EishayParseTreeString.fastjson2           thrpt    5   874.717 ?  3.416  ops/ms
EishayParseTreeString.jackson             thrpt    5   511.982 ?  1.954  ops/ms
EishayParseTreeStringPretty.fastjson1     thrpt    5   435.999 ?  1.856  ops/ms
EishayParseTreeStringPretty.fastjson2     thrpt    5   697.955 ?  1.535  ops/ms
EishayParseTreeStringPretty.jackson       thrpt    5   466.453 ?  2.193  ops/ms
EishayParseTreeUTF8Bytes.fastjson1        thrpt    5   457.985 ?  2.613  ops/ms
EishayParseTreeUTF8Bytes.fastjson2        thrpt    5   644.869 ?  2.711  ops/ms
EishayParseTreeUTF8Bytes.jackson          thrpt    5   588.564 ?  3.783  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson1  thrpt    5   395.136 ?  2.513  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson2  thrpt    5   591.815 ?  0.937  ops/ms
EishayParseTreeUTF8BytesPretty.jackson    thrpt    5   530.148 ?  3.750  ops/ms
EishayParseUTF8Bytes.fastjson1            thrpt    5   824.937 ?  2.569  ops/ms
EishayParseUTF8Bytes.fastjson2            thrpt    5  1066.352 ?  3.450  ops/ms
EishayParseUTF8Bytes.jackson              thrpt    5   629.054 ?  2.166  ops/ms
EishayParseUTF8BytesPretty.fastjson1      thrpt    5   237.469 ?  0.463  ops/ms
EishayParseUTF8BytesPretty.fastjson2      thrpt    5   820.919 ?  2.734  ops/ms
EishayParseUTF8BytesPretty.jackson        thrpt    5   563.395 ?  1.205  ops/ms
EishayWriteBinary.fastjson2JSONB          thrpt    5  1824.477 ? 10.132  ops/ms
EishayWriteBinary.fastjson2UTF8Bytes      thrpt    5  1404.779 ?  6.155  ops/ms
EishayWriteBinary.hessian                 thrpt    5   340.824 ?  2.200  ops/ms
EishayWriteBinary.javaSerialize           thrpt    5   229.734 ?  2.166  ops/ms
EishayWriteString.fastjson1               thrpt    5   609.257 ?  1.994  ops/ms
EishayWriteString.fastjson2               thrpt    5  1490.658 ? 15.018  ops/ms
EishayWriteString.jackson                 thrpt    5   988.164 ?  5.458  ops/ms
EishayWriteUTF8Bytes.fastjson1            thrpt    5   562.173 ?  3.770  ops/ms
EishayWriteUTF8Bytes.fastjson2            thrpt    5  1426.962 ?  8.283  ops/ms
EishayWriteUTF8Bytes.jackson              thrpt    5   986.842 ?  7.250  ops/ms

zulu11.56.19-ca-jdk11.0.15-linux_x64

Benchmark                                  Mode  Cnt     Score    Error   Units
EishayParseBinary.fastjson2JSONB          thrpt    5  2192.925 ? 16.891  ops/ms
EishayParseBinary.fastjson2UTF8Bytes      thrpt    5  1097.748 ?  2.325  ops/ms
EishayParseBinary.hessian                 thrpt    5   227.254 ?  1.441  ops/ms
EishayParseBinary.javaSerialize           thrpt    5    48.722 ?  0.042  ops/ms
EishayParseString.fastjson1               thrpt    5   845.105 ?  3.633  ops/ms
EishayParseString.fastjson2               thrpt    5  1035.737 ?  4.439  ops/ms
EishayParseString.jackson                 thrpt    5   447.423 ?  0.959  ops/ms
EishayParseStringPretty.fastjson1         thrpt    5   235.837 ?  0.444  ops/ms
EishayParseStringPretty.fastjson2         thrpt    5   844.814 ?  3.336  ops/ms
EishayParseStringPretty.jackson           thrpt    5   426.731 ?  1.177  ops/ms
EishayParseTreeString.fastjson1           thrpt    5   398.072 ?  0.956  ops/ms
EishayParseTreeString.fastjson2           thrpt    5   628.928 ?  2.112  ops/ms
EishayParseTreeString.jackson             thrpt    5   450.151 ?  1.000  ops/ms
EishayParseTreeStringPretty.fastjson1     thrpt    5   355.371 ?  1.139  ops/ms
EishayParseTreeStringPretty.fastjson2     thrpt    5   540.881 ?  5.067  ops/ms
EishayParseTreeStringPretty.jackson       thrpt    5   409.537 ?  0.852  ops/ms
EishayParseTreeUTF8Bytes.fastjson1        thrpt    5   370.977 ?  1.380  ops/ms
EishayParseTreeUTF8Bytes.fastjson2        thrpt    5   664.240 ?  4.119  ops/ms
EishayParseTreeUTF8Bytes.jackson          thrpt    5   474.273 ?  1.345  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson1  thrpt    5   310.852 ?  0.421  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson2  thrpt    5   560.988 ?  1.617  ops/ms
EishayParseTreeUTF8BytesPretty.jackson    thrpt    5   453.523 ?  2.121  ops/ms
EishayParseUTF8Bytes.fastjson1            thrpt    5   711.927 ?  0.899  ops/ms
EishayParseUTF8Bytes.fastjson2            thrpt    5  1088.393 ?  2.460  ops/ms
EishayParseUTF8Bytes.jackson              thrpt    5   529.176 ?  1.381  ops/ms
EishayParseUTF8BytesPretty.fastjson1      thrpt    5   219.185 ?  0.296  ops/ms
EishayParseUTF8BytesPretty.fastjson2      thrpt    5   851.202 ?  0.896  ops/ms
EishayParseUTF8BytesPretty.jackson        thrpt    5   504.849 ?  0.848  ops/ms
EishayWriteBinary.fastjson2JSONB          thrpt    5  2149.386 ?  5.332  ops/ms
EishayWriteBinary.fastjson2UTF8Bytes      thrpt    5  1491.343 ?  7.958  ops/ms
EishayWriteBinary.hessian                 thrpt    5   329.511 ?  2.679  ops/ms
EishayWriteBinary.javaSerialize           thrpt    5   208.685 ?  1.824  ops/ms
EishayWriteString.fastjson1               thrpt    5   565.232 ?  3.456  ops/ms
EishayWriteString.fastjson2               thrpt    5  1441.335 ?  7.562  ops/ms
EishayWriteString.jackson                 thrpt    5   837.141 ?  2.873  ops/ms
EishayWriteUTF8Bytes.fastjson1            thrpt    5   514.597 ?  1.406  ops/ms
EishayWriteUTF8Bytes.fastjson2            thrpt    5  1502.273 ?  5.485  ops/ms
EishayWriteUTF8Bytes.jackson              thrpt    5   815.972 ?  3.265  ops/ms

# zulu17.34.19-ca-jdk17.0.3-linux_x64

Benchmark                                  Mode  Cnt     Score    Error   Units
EishayParseBinary.fastjson2JSONB          thrpt    5  2137.275 ?  7.579  ops/ms
EishayParseBinary.fastjson2UTF8Bytes      thrpt    5  1126.664 ?  2.795  ops/ms
EishayParseBinary.hessian                 thrpt    5   259.288 ?  0.856  ops/ms
EishayParseBinary.javaSerialize           thrpt    5    51.636 ?  0.017  ops/ms
EishayParseString.fastjson1               thrpt    5  1238.236 ?  3.560  ops/ms
EishayParseString.fastjson2               thrpt    5  1124.265 ?  6.173  ops/ms
EishayParseString.jackson                 thrpt    5   495.810 ?  0.649  ops/ms
EishayParseStringPretty.fastjson1         thrpt    5   290.088 ?  0.267  ops/ms
EishayParseStringPretty.fastjson2         thrpt    5   873.529 ?  2.285  ops/ms
EishayParseStringPretty.jackson           thrpt    5   457.738 ?  0.447  ops/ms
EishayParseTreeString.fastjson1           thrpt    5   537.252 ?  1.676  ops/ms
EishayParseTreeString.fastjson2           thrpt    5   814.205 ?  5.030  ops/ms
EishayParseTreeString.jackson             thrpt    5   479.783 ?  1.003  ops/ms
EishayParseTreeStringPretty.fastjson1     thrpt    5   479.839 ?  1.094  ops/ms
EishayParseTreeStringPretty.fastjson2     thrpt    5   707.357 ?  3.619  ops/ms
EishayParseTreeStringPretty.jackson       thrpt    5   467.163 ?  0.903  ops/ms
EishayParseTreeUTF8Bytes.fastjson1        thrpt    5   468.803 ?  1.163  ops/ms
EishayParseTreeUTF8Bytes.fastjson2        thrpt    5   729.975 ?  3.468  ops/ms
EishayParseTreeUTF8Bytes.jackson          thrpt    5   539.272 ?  1.214  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson1  thrpt    5   396.529 ?  0.532  ops/ms
EishayParseTreeUTF8BytesPretty.fastjson2  thrpt    5   694.214 ?  3.108  ops/ms
EishayParseTreeUTF8BytesPretty.jackson    thrpt    5   490.403 ?  0.983  ops/ms
EishayParseUTF8Bytes.fastjson1            thrpt    5   928.702 ?  1.944  ops/ms
EishayParseUTF8Bytes.fastjson2            thrpt    5  1148.126 ?  2.151  ops/ms
EishayParseUTF8Bytes.jackson              thrpt    5   553.741 ?  1.443  ops/ms
EishayParseUTF8BytesPretty.fastjson1      thrpt    5   263.966 ?  0.187  ops/ms
EishayParseUTF8BytesPretty.fastjson2      thrpt    5   872.755 ?  0.676  ops/ms
EishayParseUTF8BytesPretty.jackson        thrpt    5   486.115 ?  0.782  ops/ms
EishayWriteBinary.fastjson2JSONB          thrpt    5  2764.829 ? 20.961  ops/ms
EishayWriteBinary.fastjson2UTF8Bytes      thrpt    5  1739.801 ? 12.217  ops/ms
EishayWriteBinary.hessian                 thrpt    5   316.245 ?  2.630  ops/ms
EishayWriteBinary.javaSerialize           thrpt    5   213.530 ?  1.745  ops/ms
EishayWriteString.fastjson1               thrpt    5   610.977 ?  4.054  ops/ms
EishayWriteString.fastjson2               thrpt    5  1723.309 ? 14.528  ops/ms
EishayWriteString.jackson                 thrpt    5   953.324 ?  3.312  ops/ms
EishayWriteUTF8Bytes.fastjson1            thrpt    5   547.262 ?  2.875  ops/ms
EishayWriteUTF8Bytes.fastjson2            thrpt    5  1738.401 ? 11.679  ops/ms
EishayWriteUTF8Bytes.jackson              thrpt    5   948.505 ?  3.198  ops/ms