From user-return-23037-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Dec 10 20:47:28 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8885DD152 for ; Mon, 10 Dec 2012 20:47:28 +0000 (UTC) Received: (qmail 64025 invoked by uid 500); 10 Dec 2012 20:47:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 63986 invoked by uid 500); 10 Dec 2012 20:47:27 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 63978 invoked by uid 99); 10 Dec 2012 20:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 20:47:26 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.223.180 as permitted sender) Received: from [209.85.223.180] (HELO mail-ie0-f180.google.com) (209.85.223.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 20:47:22 +0000 Received: by mail-ie0-f180.google.com with SMTP id c10so9896783ieb.11 for ; Mon, 10 Dec 2012 12:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sqUeQ77tE+YE4+NqoDbkuOTZpiRnnugAeIvWRxNCAPc=; b=O31xHRkgy1V0u6SYC7VXUmhe/uzjKrP1bEW/BvPIseSlCOtQ8o6N6lTAcoL1kKH3Tj KPvnio/lycWtzAKHk0PlL6nvWjQBWddKX/WhOXA8JsL7lpGdG7zSYiwigf1jGnJKbmxO zEDRVMwdCcjiD+XnZ0mirQXsSJVcoVX7IwB50qqTQDdtuAnJYAGHrWeBiDgpkjRZ4Gqf Jcu6cMMb5TunS3Jjxvp0pHlt5QBlJlkAw6jnqNR/ILxmpGqwvZiCfx92TkEpDwhHhLnA ieRWCVqdwbdkr2zDGj+gM6My0VmayIAsFwWbogVYqcuUeHmwoOzWcAYz5HprwR9zCAjF 0BXw== MIME-Version: 1.0 Received: by 10.42.212.8 with SMTP id gq8mr12062194icb.48.1355172421860; Mon, 10 Dec 2012 12:47:01 -0800 (PST) Received: by 10.64.77.196 with HTTP; Mon, 10 Dec 2012 12:47:01 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Dec 2012 21:47:01 +0100 Message-ID: Subject: Re: couchdbkit 10x slower than "Requests"? From: Benoit Chesneau To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=20cf301d43b0d07b9504d085aa6c X-Virus-Checked: Checked by ClamAV on apache.org --20cf301d43b0d07b9504d085aa6c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wro= te: > 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 >wrote: > > > On Mon, Dec 10, 2012 at 9:11 PM, Holger Krekel > >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 ticke= t > on > > github ? Or just paste it somewhere. > > > > - beno=EEt > > > --20cf301d43b0d07b9504d085aa6c--