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

Dan McGee dpmcgee at gmail.com
Sat May 29 17:58:13 EDT 2010


On Sat, May 29, 2010 at 4:56 PM, Nezmer <git at nezmer.info> wrote:
> On Sat, May 29, 2010 at 04:31:23PM -0500, Dan McGee wrote:
>>
>> This is *ONE* iteration:
>>
>> dmcgee at dublin ~
>> $ time bsdtar -tf /var/cache/makepkg/src/linux-2.6.34.tar.bz2 >/dev/null
>>
>> real    0m51.631s
>> user    0m49.940s
>> sys     0m0.287s
>>
>
> Would caching help here if "bsdtar -tf" loads the archive into memory?

This was a cached run; it makes no difference though because the
bottleneck here is CPU, not I/O.

-Dan


More information about the pacman-dev mailing list