unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35909: 27.0.50; Speed up untarring (and hence package installation)
@ 2019-05-26  0:00 Noam Postavsky
  2019-05-26  0:24 ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Noam Postavsky @ 2019-05-26  0:00 UTC (permalink / raw)
  To: 35909

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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-04  1:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-26  0:00 bug#35909: 27.0.50; Speed up untarring (and hence package installation) Noam Postavsky
2019-05-26  0:24 ` Noam Postavsky
2019-05-26 16:39   ` Eli Zaretskii
2019-06-04  1:14     ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).