node-archiver: Slower ZIP creation after upgrade to 0.11

I am on a windows machine running node 0.10.28. I am using this module from grunt-contrib-compress.

To compress this folder structure

image

When using grunt-contrib-compress versions these are the results. v0.12.0 took me over 4 minutes. this produces a 18913229 byte zip file v0.11.0 took over 4 minutes and produced a zip file. v0.10.0 took 45 seconds and produced a 18913229 byte zip file v0.9.0 took 45 seconds and produced a 18809351 byte zip file. v0.8.0 took 46 seconds for the same file. this produces a 18809351 byte zip file.

version 0.11 is where they updated to archiver 0.11. Version 0.10 and below are using archiver 0.9 and are ~4 times faster on my windows machine. I would assume that the regression is in there somewhere.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 39 (21 by maintainers)

Most upvoted comments

interesting stats. does setting highWaterMark: 1024 * 1024 * 16 option help?