Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2978

Upgrade benchmark from commons-compress-1.0 to commons-compress-1.1 for 15 times faster gzip decompression

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2, 4.0-ALPHA
    • modules/benchmark
    • None

    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.

      Attachments

        1. LUCENE-2978.patch
          6 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            doronc Doron Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: