GNU bug report logs - #35909
27.0.50; Speed up untarring (and hence package installation)

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> gmail.com>

Date: Sun, 26 May 2019 00:02:02 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 27.0.50

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: 35909 <at> debbugs.gnu.org
Subject: bug#35909: 27.0.50; Speed up untarring (and hence package installation)
Date: Sat, 25 May 2019 20:00:18 -0400
Severity: wishlist

package.el uses tar-mode.el to unpack tar files.  This can be very slow
for tar files which have many small files.  As an example see
https://elpa.gnu.org/packages/yasnippet-classic-snippets-1.0.2.tar.

tar-untar-buffer for that file currently takes 11.5 seconds on my
machine.  After (setq write-region-inhibit-fsync t) it takes 1.2
seconds.  When further binding inhibit-message to t around the call, it
takes 0.3 seconds.  Which is the same as running tar -xf.

Patch to follow.





This bug report was last modified 6 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.