Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 83853 invoked from network); 21 Mar 2011 08:52:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 08:52:46 -0000 Received: (qmail 88963 invoked by uid 500); 21 Mar 2011 08:52:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 88919 invoked by uid 500); 21 Mar 2011 08:52:45 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 88912 invoked by uid 99); 21 Mar 2011 08:52:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 08:52:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 08:52:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA4B8401E4E for ; Mon, 21 Mar 2011 08:52:05 +0000 (UTC) Date: Mon, 21 Mar 2011 08:52:05 +0000 (UTC) From: "Doron Cohen (JIRA)" To: dev@lucene.apache.org Message-ID: <729439036.174.1300697525759.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1676243829.142.1300662366006.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-2978) Upgrade benchmark from commons-compress-1.0 to commons-compress-1.1 for 15 times faster gzip decompression MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doron Cohen updated LUCENE-2978: -------------------------------- Description: In LUCENE-1540 TrecContentSource moved from Java's GZipInputStream to common-compress 1.0. This slowed down gzip decompression by a factor of 15. Upgrading to 1.1 solves this problem. I verified that the problem is only in GZIP, not in BZIP. On the way, as 1.1 introduced constants for the compression methods, the code can be made a bit nicer. was: In LUCENE-1540 TrecContentSource moved from Java's GZipInputStream to common-compress 1.1. This slowed down gzip decompression by a factor of 15. Upgrading to 1.0 solves this problem. I verified that the problem is only in GZIP, not in BZIP. On the way, as 1.1 introduced constants for the compression methods, the code can be made a bit nicer. > Upgrade benchmark from commons-compress-1.0 to commons-compress-1.1 for 15 times faster gzip decompression > ---------------------------------------------------------------------------------------------------------- > > Key: LUCENE-2978 > URL: https://issues.apache.org/jira/browse/LUCENE-2978 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/benchmark > Reporter: Doron Cohen > Assignee: Doron Cohen > Fix For: 3.2, 4.0 > > > In LUCENE-1540 TrecContentSource moved from Java's GZipInputStream to common-compress 1.0. > This slowed down gzip decompression by a factor of 15. > Upgrading to 1.1 solves this problem. > I verified that the problem is only in GZIP, not in BZIP. > On the way, as 1.1 introduced constants for the compression methods, the code can be made a bit nicer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org