Return-Path: Delivered-To: apmail-lucene-ruby-dev-archive@www.apache.org Received: (qmail 73564 invoked from network); 26 Nov 2008 05:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 05:08:43 -0000 Received: (qmail 53391 invoked by uid 500); 26 Nov 2008 05:08:54 -0000 Delivered-To: apmail-lucene-ruby-dev-archive@lucene.apache.org Received: (qmail 53376 invoked by uid 500); 26 Nov 2008 05:08:54 -0000 Mailing-List: contact ruby-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ruby-dev@lucene.apache.org Delivered-To: mailing list ruby-dev@lucene.apache.org Received: (qmail 53365 invoked by uid 99); 26 Nov 2008 05:08:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 21:08:54 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of goodieboy@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 05:07:28 +0000 Received: by wf-out-1314.google.com with SMTP id 28so295364wfc.20 for ; Tue, 25 Nov 2008 21:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=iIfTcbzEF8AhIeWjqSDdy/vaC34jWJv1ybd3acG6WAQ=; b=AYRGlRRfOfZiv5IiDWbeoS33TD6p1fm9MzKDX8U2KdwAZiNoi3wIrXLMo8L63MQxJ8 OuyK3kuNdf3rVdnXPHXU8ux93AVD7GdSD0t6YBkmRw2vzDJB5iBCSPMdLMkHW20MA4+C JQR/2D8V642qNeT3C6NyZXDB2NENMofT1xgQY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=kpQZQbtORLpXq+ZGqLGZGKKvVk7xyTNnEFjJP3YpXWCSKqiPeqTJ6lmEDqR7hmFtAb bj+FkZteOEiV2/8dRrPqtI/bZ27eFiXAkzqZDY30ZZ4SMzIteRcgw33U+k7gJ8I+/sHp 8T4JgjQ0LtxCbiZgXkYSvEEulo3fAOYZ/7NWY= Received: by 10.142.153.8 with SMTP id a8mr2428870wfe.234.1227676093880; Tue, 25 Nov 2008 21:08:13 -0800 (PST) Received: by 10.142.126.14 with HTTP; Tue, 25 Nov 2008 21:08:13 -0800 (PST) Message-ID: Date: Wed, 26 Nov 2008 00:08:13 -0500 From: "Matt Mitchell" To: ruby-dev@lucene.apache.org Subject: Re: quick jruby + solr benchmarks In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13878_12870301.1227676093878" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13878_12870301.1227676093878 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Looks like jruby + DirectSolrConnection are on top. I'll try to get some update queries next. 1,000 iterations VS 10,000 iterations Added Ruby MRI 1.8.6, using open-uri / http Added jruby using open-uri / http "Benchmark'" standard lib solr 1.3 empty index query = ipod # jruby + CommonsHttpSolrServer # user system total real # 1000 iterations # 4.335000 0.000000 4.335000 ( 4.334744) # 4.335000 0.000000 4.335000 ( 4.334730) # 10000 iterations # 32.355000 0.000000 32.355000 ( 32.354999) # 32.303000 0.000000 32.303000 ( 32.302859) # 32.323000 0.000000 32.323000 ( 32.323368) # jruby + EmbeddedSolrServer # user system total real # 1000 iterations # 2.268000 0.000000 2.268000 ( 2.267976) # 2.357000 0.000000 2.357000 ( 2.356588) # 10000 iterations # 10.650000 0.000000 10.650000 ( 10.649839) # 8.099000 0.000000 8.099000 ( 8.099088) # 8.119000 0.000000 8.119000 ( 8.118807) # jruby + DirectSolrConnection # user system total real # 1000 iterations # 1.593000 0.000000 1.593000 ( 1.592349) # 1.595000 0.000000 1.595000 ( 1.594842) # 10000 iterations # 10.708000 0.000000 10.708000 ( 10.707790) # 6.952000 0.000000 6.952000 ( 6.951736) # 7.939000 0.000000 7.939000 ( 7.939191) # ruby mri + http / open-uri # user system total real # 1000 iterations # 0.760000 0.310000 1.070000 ( 1.607703) # 0.730000 0.300000 1.030000 ( 1.619739) # 0.760000 0.330000 1.090000 ( 1.907517) # 0.740000 0.300000 1.040000 ( 1.543832) # 10000 iterations # 7.300000 2.970000 10.270000 ( 15.452759) # 7.290000 2.960000 10.250000 ( 15.585011) # 7.330000 2.980000 10.310000 ( 15.781377) # jruby + http / open-uri # user system total real # 10000 iterations # 27.583000 0.000000 27.583000 ( 27.582765) # 25.620000 0.000000 25.620000 ( 25.620403) # 25.474000 0.000000 25.474000 ( 25.473653) ------=_Part_13878_12870301.1227676093878--