nickva commented on issue #726: Provide a more accurate size check for max_document_size limit URL: https://github.com/apache/couchdb/pull/726#issuecomment-329036582 A speed benchmark with the latest version ``` ./run_ebench.sh 100000 Generating inputs... Running benchmark: 4 encoders x 14 tests x input size(s): [100000] Finished running benchmark. Enc. | Input size | Input type | USec | Bytes ------+------------+--------------+------------+---------- jiffy | 100000 | file_1 | 1855890.0 | 130300001 | 100000 | float_17d | 33482.0 | 2000001 | 100000 | float_1d_arr | 27934.0 | 400001 | 100000 | float_large_ | 29046.0 | 700001 | 100000 | int_large_ar | 228596.0 | 10300001 | 100000 | int_small_ar | 25602.0 | 300001 | 100000 | nested_arr | 22005.0 | 200002 | 100000 | nested_obj | 28474.0 | 600009 | 100000 | str_basic | 245.0 | 100002 | 100000 | str_cent | 847.0 | 200002 | 100000 | str_ctr1 | 2510.0 | 600002 | 100000 | str_escn | 433.0 | 200002 | 100000 | str_euro | 7496.0 | 300002 | 100000 | str_hwair | 2242.0 | 400002 erlfast | 100000 | file_1 | 671488.0 | 129000001 | 100000 | float_17d | 11350.0 | 400001 | 100000 | float_1d_arr | 7181.0 | 400001 | 100000 | float_large_ | 6202.0 | 600001 | 100000 | int_large_ar | 21062.0 | 10300001 | 100000 | int_small_ar | 4745.0 | 300001 | 100000 | nested_arr | 5159.0 | 200002 | 100000 | nested_obj | 11256.0 | 600009 | 100000 | str_basic | 1.0 | 100002 | 100000 | str_cent | 0.0 | 200002 | 100000 | str_ctr1 | 1.0 | 100002 | 100000 | str_escn | 0.0 | 100002 | 100000 | str_euro | 1.0 | 300002 | 100000 | str_hwair | 0.0 | 400002 erlexact | 100000 | file_1 | 3881782.0 | 130300001 | 100000 | float_17d | 101168.0 | 2000001 | 100000 | float_1d_arr | 79459.0 | 400001 | 100000 | float_large_ | 90186.0 | 700001 | 100000 | int_large_ar | 19857.0 | 10300001 | 100000 | int_small_ar | 8236.0 | 300001 | 100000 | nested_arr | 9991.0 | 200002 | 100000 | nested_obj | 14360.0 | 600009 | 100000 | str_basic | 2440.0 | 100002 | 100000 | str_cent | 4201.0 | 200002 | 100000 | str_ctr1 | 2179.0 | 600002 | 100000 | str_escn | 2914.0 | 200002 | 100000 | str_euro | 3139.0 | 300002 | 100000 | str_hwair | 2365.0 | 400002 jsone | 100000 | file_1 | 10344603.0 | 134100001 | 100000 | float_17d | 98060.0 | 2700001 | 100000 | float_1d_arr | 102487.0 | 2700001 | 100000 | float_large_ | 189334.0 | 2800001 | 100000 | int_large_ar | 128429.0 | 10300001 | 100000 | int_small_ar | 24337.0 | 300001 | 100000 | nested_arr | 19069.0 | 200002 | 100000 | nested_obj | 41674.0 | 600009 | 100000 | str_basic | 5269.0 | 100002 | 100000 | str_cent | 11357.0 | 600002 | 100000 | str_ctr1 | 7512.0 | 600002 | 100000 | str_escn | 3430.0 | 200002 | 100000 | str_euro | 13367.0 | 600002 | 100000 | str_hwair | 27393.0 | 1200002 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
