From general-return-251-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Tue May 09 21:34:09 2006 Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 53456 invoked from network); 9 May 2006 21:34:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 21:34:08 -0000 Received: (qmail 49408 invoked by uid 500); 9 May 2006 21:34:06 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 49386 invoked by uid 500); 9 May 2006 21:34:06 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 49375 invoked by uid 99); 9 May 2006 21:34:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 14:34:05 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (asf.osuosl.org: transitioning domain of gjc@alum.mit.edu does not designate 18.92.0.171 as permitted sender) Received: from [18.92.0.171] (HELO brunch.mit.edu) (18.92.0.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 14:34:03 -0700 Received: from brunch.mit.edu (localhost [127.0.0.1]) by brunch.mit.edu (8.12.10/8.12.10) with ESMTP id k49LXdRH000205 for ; Tue, 9 May 2006 17:33:40 -0400 (EDT) Date: Tue, 9 May 2006 17:33:39 -0400 (EDT) Message-ID: <22465766.1147210419969.JavaMail.gbourne@brunch.mit.edu> From: George Carrette To: general@lucene.apache.org Subject: Lucene C# verses Lucene J#, benchmarks? Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17_23543543.1147210419952" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_17_23543543.1147210419952 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The only benchmark I have done so far is Lucene Java, binary distribution running in sunJRE 1.5.0_06 verses Microsoft.NET 2.0 J# in debug mode. The difference in time to index the lucene-1.9.1/src/java tree (about 200 files in 1.5 megabytes) was small enough to be ignored. And I'm sure that more detailed benchmarks would give about the same results. The C# code was generated (at least at first) by an automatic translator, and it would be compiled into pretty much the same common intermediate language as the J# compiler would produce on the input Java. Then the serious optimization work would be done by the same just-in-time compiler back-end. Lastly the runtime I/O would be the same. Considering the huge amount of labor that is involved in maintaining a couple hundred source files with about 35 thousand lines of code, I'm wondering what the big payoff for that expenditure of human capital is likely to be with the C# version. ------=_Part_17_23543543.1147210419952--