Doing "all" cases.

This commit is contained in:
Daniel Lemire 2019-01-17 19:28:18 -05:00
parent c901865ac8
commit 982e8b8577
29 changed files with 212 additions and 43 deletions

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.523 0.034 2.222 0.049
"RapidJSON " 6.546 0.096 0.520 0.008
"RapidJSON (insitu)" 4.917 0.048 0.692 0.007
"sajson (dynamic mem)" 4.116 0.061 0.826 0.012
"sajson" 2.829 0.071 1.200 0.029
"dropbox (json11) " 20.658 0.097 0.165 0.001
"fastjson " 12.749 0.395 0.267 0.008
"gason " 3.639 0.363 0.934 0.084
"ultrajson " 8.329 0.223 0.409 0.011
"jsmn " 50.809 0.150 0.067 0.000
"cJSON " 11.417 0.066 0.298 0.002

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.281 0.030 1.038 0.009
"RapidJSON " 6.705 0.017 0.508 0.001
"RapidJSON (insitu)" 6.771 0.011 0.503 0.001
"sajson (dynamic mem)" 5.812 0.100 0.586 0.010
"sajson" 4.250 0.027 0.802 0.005
"dropbox (json11) " 48.060 0.635 0.071 0.001
"fastjson " 16.785 0.175 0.203 0.002
"gason " 3.753 0.748 0.908 0.151
"ultrajson " 7.258 0.019 0.469 0.001
"jsmn " 535.513 0.171 0.006 0.000
"cJSON " 43.412 0.607 0.079 0.001

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.349 0.015 2.524 0.029
"RapidJSON " 4.127 0.016 0.826 0.003
"RapidJSON (insitu)" 3.891 0.013 0.876 0.003
"sajson (dynamic mem)" 3.992 0.017 0.853 0.004
"sajson" 2.968 0.017 1.148 0.007
"dropbox (json11) " 14.293 0.085 0.238 0.001
"fastjson " 9.145 0.977 0.373 0.036
"gason " 2.925 0.069 1.165 0.027
"ultrajson " 4.778 0.024 0.713 0.004
"jsmn " 16.163 0.020 0.211 0.000
"cJSON " 8.935 0.028 0.381 0.001

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.388 0.059 2.422 0.099
"RapidJSON " 6.727 0.114 0.505 0.008
"RapidJSON (insitu)" 4.529 0.112 0.749 0.018
"sajson (dynamic mem)" 3.526 0.128 0.961 0.034
"sajson" 3.184 0.099 1.064 0.032
"dropbox (json11) " 23.065 0.176 0.148 0.001
"fastjson " 13.145 0.139 0.259 0.003
"gason " 3.634 0.281 0.933 0.067
"ultrajson " 8.912 0.248 0.382 0.010
"jsmn " 5.908 0.076 0.575 0.007
"cJSON " 12.011 0.110 0.283 0.003

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.136 0.022 2.998 0.056
"RapidJSON " 6.166 0.018 0.553 0.002
"RapidJSON (insitu)" 3.409 0.005 1.000 0.002
"sajson (dynamic mem)" 3.174 0.009 1.074 0.003
"sajson" 2.706 0.010 1.259 0.004
"dropbox (json11) " 15.026 0.075 0.227 0.001
"fastjson " 10.953 1.283 0.311 0.033
"gason " 3.121 0.043 1.092 0.015
"ultrajson " 7.697 0.023 0.443 0.001
"jsmn " 20.240 0.040 0.168 0.000
"cJSON " 6.304 0.025 0.541 0.002

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.667 0.041 2.037 0.049
"RapidJSON " 5.548 0.041 0.614 0.004
"RapidJSON (insitu)" 4.909 0.042 0.693 0.006
"sajson (dynamic mem)" 5.102 0.060 0.667 0.008
"sajson" 3.420 0.026 0.995 0.008
"dropbox (json11) " 24.124 0.110 0.141 0.001
"fastjson " 10.926 0.143 0.312 0.004
"gason " 3.445 0.517 0.987 0.129
"ultrajson " 7.649 0.109 0.445 0.006
"jsmn " 13.093 0.050 0.260 0.001
"cJSON " 13.135 0.067 0.259 0.001

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.702 0.046 0.921 0.011
"RapidJSON " 7.619 0.036 0.447 0.002
"RapidJSON (insitu)" 7.426 0.014 0.459 0.001
"sajson (dynamic mem)" 6.702 0.145 0.508 0.011
"sajson" 5.006 0.054 0.681 0.007
"dropbox (json11) " 45.202 4.961 0.075 0.007
"fastjson " 17.095 0.363 0.199 0.004
"gason " 4.498 1.051 0.758 0.143
"ultrajson " 8.591 0.032 0.397 0.001
"jsmn " 18.672 0.072 0.183 0.001
"cJSON " 43.523 1.752 0.078 0.003

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.715 0.053 0.917 0.013
"RapidJSON " 7.616 0.069 0.447 0.004
"RapidJSON (insitu)" 7.686 0.035 0.443 0.002
"sajson (dynamic mem)" 6.644 0.142 0.513 0.011
"sajson" 4.930 0.069 0.691 0.010
"dropbox (json11) " 39.737 0.247 0.086 0.001
"fastjson " 18.445 0.106 0.185 0.001
"gason " 4.709 1.019 0.723 0.129
"ultrajson " 8.493 0.050 0.401 0.002
"jsmn " 66.500 0.097 0.051 0.000
"cJSON " 48.582 0.207 0.070 0.000

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 2.430 0.023 1.402 0.013
"RapidJSON " 4.683 0.032 0.728 0.005
"RapidJSON (insitu)" 4.703 0.011 0.724 0.002
"sajson (dynamic mem)" 5.078 0.312 0.671 0.039
"sajson" 3.410 0.024 0.999 0.007
"dropbox (json11) " 21.818 0.103 0.156 0.001
"fastjson " 11.126 0.167 0.306 0.005
"gason " 3.329 0.506 1.024 0.135
"ultrajson " 4.810 0.026 0.708 0.004
"jsmn " 32.929 0.169 0.103 0.001
"cJSON " 23.476 0.105 0.145 0.001

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.163 0.036 1.075 0.012
"RapidJSON " 6.369 0.090 0.534 0.007
"RapidJSON (insitu)" 6.471 0.035 0.526 0.003
"sajson (dynamic mem)" 6.007 0.058 0.566 0.005
"sajson" 4.074 0.075 0.834 0.015
"dropbox (json11) " 37.788 0.298 0.090 0.001
"fastjson " 15.389 0.151 0.221 0.002
"gason " 4.105 0.707 0.828 0.121
"ultrajson " 7.156 0.070 0.476 0.005
"jsmn " 6.077 0.036 0.560 0.003
"cJSON " 42.276 0.153 0.081 0.000

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 2.394 0.041 1.422 0.024
"RapidJSON " 8.428 0.044 0.404 0.002
"RapidJSON (insitu)" 6.850 0.023 0.497 0.002
"sajson (dynamic mem)" 7.760 0.044 0.439 0.002
"sajson" 4.153 0.039 0.820 0.008
"dropbox (json11) " 33.377 0.126 0.102 0.000
"fastjson " 15.233 0.209 0.224 0.003
"gason " 4.156 0.719 0.819 0.121
"ultrajson " 11.560 0.082 0.295 0.002
"jsmn " 111.680 1.493 0.031 0.000
"cJSON " 17.926 0.175 0.190 0.002

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.560 0.030 2.182 0.042
"RapidJSON " 6.671 0.041 0.511 0.003
"RapidJSON (insitu)" 4.772 0.027 0.714 0.004
"sajson (dynamic mem)" 4.883 0.046 0.698 0.006
"sajson" 3.502 0.027 0.973 0.008
"dropbox (json11) " 24.198 0.143 0.141 0.001
"fastjson " 13.158 0.907 0.259 0.017
"gason " 4.026 0.097 0.846 0.020
"ultrajson " 8.097 0.047 0.421 0.002
"jsmn " 12.138 0.064 0.281 0.001
"cJSON " 10.033 0.054 0.340 0.002

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.116 0.037 1.093 0.013
"RapidJSON " 8.138 0.037 0.419 0.002
"RapidJSON (insitu)" 5.738 0.027 0.594 0.003
"sajson (dynamic mem)" 5.670 0.041 0.601 0.004
"sajson" 3.945 0.040 0.863 0.009
"dropbox (json11) " 31.865 0.152 0.107 0.001
"fastjson " 14.110 0.939 0.241 0.015
"gason " 4.759 0.091 0.716 0.013
"ultrajson " 9.552 0.062 0.357 0.002
"jsmn " 13.007 0.167 0.262 0.003
"cJSON " 12.678 0.057 0.269 0.001

View File

@ -0,0 +1,12 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.959 0.036 1.738 0.031
"RapidJSON " 8.469 0.050 0.402 0.002
"RapidJSON (insitu)" 6.231 0.026 0.547 0.002
"sajson (dynamic mem)" 7.073 0.038 0.482 0.003
"sajson" 4.036 0.039 0.844 0.008
"dropbox (json11) " 31.284 0.113 0.109 0.000
"fastjson " 16.820 0.969 0.203 0.011
"gason " 4.733 0.211 0.719 0.031
"ultrajson " 11.067 0.082 0.308 0.002
"jsmn " 53.609 0.470 0.064 0.001
"cJSON " 13.556 0.095 0.251 0.002

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.596 0.035 2.123 0.046
"RapidJSON" 4.893 0.056 0.695 0.008
"sajson" 2.765 0.056 1.228 0.024
"simdjson " 1.543 0.033 2.194 0.046
"RapidJSON (insitu)" 4.902 0.046 0.694 0.007
"sajson" 2.753 0.151 1.233 0.064

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.288 0.030 1.036 0.010
"RapidJSON" 6.675 0.014 0.510 0.001
"sajson" 4.258 0.023 0.800 0.004
"simdjson " 3.289 0.040 1.036 0.012
"RapidJSON (insitu)" 6.741 0.026 0.506 0.002
"sajson" 4.562 0.024 0.747 0.004

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.354 0.016 2.516 0.030
"RapidJSON" 3.734 0.013 0.913 0.003
"sajson" 2.643 0.069 1.289 0.033
"simdjson " 1.385 0.017 2.458 0.029
"RapidJSON (insitu)" 3.700 0.012 0.921 0.003
"sajson" 2.916 0.024 1.168 0.010

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.376 0.048 2.442 0.081
"RapidJSON" 4.564 0.153 0.743 0.024
"sajson" 3.067 0.141 1.104 0.048
"simdjson " 1.381 0.048 2.435 0.080
"RapidJSON (insitu)" 4.592 0.130 0.739 0.020
"sajson" 3.220 0.113 1.052 0.035

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.141 0.022 2.984 0.057
"RapidJSON" 3.457 0.007 0.986 0.002
"sajson" 2.646 0.024 1.288 0.011
"simdjson " 1.128 0.021 3.020 0.056
"RapidJSON (insitu)" 3.467 0.007 0.983 0.002
"sajson" 2.699 0.010 1.262 0.005

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.708 0.033 1.989 0.038
"RapidJSON" 4.929 0.061 0.691 0.008
"sajson" 3.017 0.105 1.128 0.038
"simdjson " 1.671 0.039 2.032 0.046
"RapidJSON (insitu)" 4.911 0.056 0.693 0.008
"sajson" 3.524 0.033 0.965 0.009

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.854 0.049 0.884 0.011
"RapidJSON" 7.525 0.029 0.453 0.002
"sajson" 4.620 0.042 0.738 0.007
"simdjson " 3.691 0.054 0.923 0.013
"RapidJSON (insitu)" 7.533 0.035 0.452 0.002
"sajson" 5.006 0.223 0.681 0.029

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.763 0.059 0.905 0.014
"RapidJSON" 7.760 0.060 0.439 0.003
"sajson" 4.941 0.045 0.689 0.006
"simdjson " 3.703 0.056 0.920 0.014
"RapidJSON (insitu)" 7.820 0.069 0.436 0.004
"sajson" 5.245 0.059 0.650 0.007

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 2.472 0.025 1.378 0.014
"RapidJSON" 4.777 0.043 0.713 0.006
"sajson" 3.306 0.050 1.031 0.015
"simdjson " 2.430 0.022 1.402 0.013
"RapidJSON (insitu)" 4.764 0.031 0.715 0.005
"sajson" 3.522 0.021 0.968 0.006

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.200 0.032 1.062 0.010
"RapidJSON" 6.548 0.092 0.520 0.007
"sajson" 4.123 0.038 0.825 0.008
"simdjson " 3.123 0.036 1.088 0.012
"RapidJSON (insitu)" 6.568 0.094 0.518 0.007
"sajson" 4.182 0.034 0.813 0.007

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 2.412 0.041 1.411 0.023
"RapidJSON" 6.819 0.026 0.500 0.002
"sajson" 4.152 0.086 0.820 0.017
"simdjson " 2.401 0.040 1.418 0.023
"RapidJSON (insitu)" 6.899 0.030 0.494 0.002
"sajson" 4.167 0.043 0.817 0.008

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.573 0.031 2.164 0.042
"RapidJSON" 4.837 0.029 0.704 0.004
"sajson" 3.277 0.051 1.039 0.016
"simdjson " 1.554 0.032 2.190 0.044
"RapidJSON (insitu)" 4.859 0.028 0.701 0.004
"sajson" 3.451 0.083 0.987 0.023

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 3.077 0.036 1.107 0.013
"RapidJSON" 5.632 0.028 0.605 0.003
"sajson" 4.066 0.037 0.838 0.007
"simdjson " 3.116 0.036 1.093 0.013
"RapidJSON (insitu)" 5.613 0.041 0.607 0.004
"sajson" 4.005 0.033 0.850 0.007

View File

@ -1,4 +1,4 @@
name cycles_per_byte cycles_per_byte_err gb_per_s gb_per_s_err
"simdjson " 1.934 0.037 1.760 0.033
"RapidJSON" 6.090 0.027 0.559 0.002
"sajson" 4.007 0.058 0.850 0.012
"simdjson " 1.956 0.036 1.740 0.032
"RapidJSON (insitu)" 6.049 0.039 0.563 0.004
"sajson" 3.961 0.050 0.860 0.011

View File

@ -8,7 +8,7 @@ mkdir -p $datadirectory
os=$(uname)
make parsingcompetition
make parsingcompetition allparsingcompetition
echo "parsing (with competition)"
echo
for i in $SCRIPTPATH/../jsonexamples/*.json; do
@ -17,6 +17,7 @@ for i in $SCRIPTPATH/../jsonexamples/*.json; do
shortname=$(basename $SCRIPTPATH/$i.table)
corename=$(basename ${shortname%.*})".pdf"
$SCRIPTPATH/../parsingcompetition -t $i > $datadirectory/$shortname
$SCRIPTPATH/../allparsingcompetition -t $i > $datadirectory/all$shortname
echo
done