Commons Compress
  1. Commons Compress
  2. COMPRESS-46

ZipOutputStream is slow when compressing big files

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This has been reported against Ant's version, the grandfather of commons-compress. See https://issues.apache.org/bugzilla/show_bug.cgi?id=45396

      Splitting up the array passed into Deflater.setInput improves the performance dramatically. Ant's change is http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java?r1=579278&r2=677272&pathrev=677272

      1. patch-zip-update.txt
        139 kB
        Christian Grobmeier

        Issue Links

          Activity

          Dennis Lundberg made changes -
          Project Commons Sandbox [ 12310491 ] Commons Compress [ 12310904 ]
          Key SANDBOX-248 COMPRESS-46
          Component/s Compress [ 12311183 ]
          Torsten Curdt made changes -
          Assignee Torsten Curdt [ tcurdt ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Christian Grobmeier made changes -
          Link This issue incorporates SANDBOX-244 [ SANDBOX-244 ]
          Christian Grobmeier made changes -
          Field Original Value New Value
          Attachment patch-zip-update.txt [ 12397672 ]
          Stefan Bodewig created issue -

            People

            • Assignee:
              Torsten Curdt
              Reporter:
              Stefan Bodewig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development