You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/02/18 00:07:10 UTC

[GitHub] [couchdb] nickva commented on issue #2562: Re-use changes feed main transaction when including docs

nickva commented on issue #2562: Re-use changes feed main transaction when including docs
URL: https://github.com/apache/couchdb/pull/2562#issuecomment-587209856
 
 
   Benchmarking this vs prototype/fdb-layer get about a 2x speed up on macos with a single fdbserver with 1 million docs:
   
   prototype/fdb-layer
   ``` 
   $ time http $DB/deebee/_changes?include_docs=true > changes_1m_incude_docs.json_2.json
   
   real	7m58.086s
   user	0m4.157s
   sys	0m2.404s
   ```
   
   This PR:
   ```
   $ time http $DB/deebee/_changes?include_docs=true > changes_1m_incude_docs.json_3.json
   
   real	4m54.697s
   user	0m3.687s
   sys	0m2.200s
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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