couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: couchdbkit 10x slower than "Requests"?
Date Mon, 10 Dec 2012 20:47:01 GMT
So I launched the script and I got reversed results:

$ python test.py
'0.795 duration -- couchdbkit: 500'
'2.064 duration -- requests: 500'

Not sure what happen right now on your version. This is on ubuntu. I will
test on mac later.

- benoit


On Mon, Dec 10, 2012 at 9:39 PM, Holger Krekel <holger.krekel@gmail.com>wrote:

> here is the r2.py script http://bpaste.net/show/tJCSgiFIY5AKDdLFuIoH/
>
> the timing is 20.5 seconds for couchdbkit and 1.06 seconds for requests.
>
> the server string is: 'CouchDB/1.2.0 (Erlang OTP/R15B02)'
>
>
> On Mon, Dec 10, 2012 at 9:35 PM, Benoit Chesneau <bchesneau@gmail.com
> >wrote:
>
> > On Mon, Dec 10, 2012 at 9:11 PM, Holger Krekel <holger.krekel@gmail.com
> > >wrote:
> >
> > > Find attached the r2.py script - it assumes a couchdb server at port
> 8001
> > > but creates the doc (not a view anymore) itself before measuring the
> > speed
> > > of getting the doc 500 times.
> > >
> > >
> > >
> > Thanks but attachments won't work here :)  Can you attach me to a ticket
> on
> > github ? Or just paste it somewhere.
> >
> > - benoƮt
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message