You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/09/05 14:55:13 UTC

[GitHub] davisp commented on issue #726: Provide a more accurate size check for max_document_size limit

davisp commented on issue #726: Provide a more accurate size check for max_document_size limit
URL: https://github.com/apache/couchdb/pull/726#issuecomment-327201615
 
 
   From my analysis on those results using Jiffy as a baseline: erlfast is about 180ms faster while having a total size difference of 429k, erlexact is 184ms slower while having an exact match in output, and jsone is off by 1,145K and nearly a second slower.
   
   So it seems like jsone is definitely out but I'm not sure if either erl appraoch is a contender or not. On the one hand erlfast is faster by being slightly off in its counts (slightly off assuming jiffy as a baseline) while erlexact is exact but slightly slower. Also note that slightly slower in a production system may change depending on garbage collection and JSON document average sizes (ie, it could get way slower on large docs, and may end up being slightly faster for trivial docs).
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services