[pacman-dev] [PATCH] makepkg: Extract from any file bsdtar can recognize

Andres P aepd87 at gmail.com
Thu Jun 3 06:10:43 EDT 2010

On 6/3/10, Allan McRae <allan at archlinux.org> wrote:
> Looks good.   Pushed to my post-3.4 branch.
> Allan

$ time for i in {1..1000}; do bsdtar -tf
/var/cache/pacman/pkg/kernel26- -q \*
>/dev/null; done
real    0m18.170s
user    0m14.196s
sys     0m3.130s

$ time for i in {1..1000}; do file -bizL
/var/cache/pacman/pkg/kernel26- >/dev/null;
real    0m23.273s
user    0m7.603s
sys     0m9.956s


Is the only reason the 'case in file -bizL' block is still there is because no
one has written a patch for it?

Because now you've got your performance sorted out.

Andres P

More information about the pacman-dev mailing list