3 ms·
Does npm even default to gzip -9? Wikipedia claims zopfli is 80 times slower under default settings.
by hinkley 2y ago
Does npm even default to gzip -9? Wikipedia claims zopfli is 80 times slower under default settings.
- zahlman 2y agoMy experience has been that past -6 or so, gzip files get only a tiny bit smaller in typical cases. (I think I've even seen them get bigger with -9.)
- EvanHahn 2y agoYes: https://github.com/npm/pacote/blob/bf1f60f58bb61f053262f54724edcacaadb221ce/lib/util/tar-create-options.js#L12 https://github.com/npm/pacote/blob/bf1f60f58bb61f053262f5472...