[Slackbuilds-users] txz?

Yth yth at ythogtha.org
Thu Oct 8 22:04:00 UTC 2026


>>> a/pkgtools-16.0-noarch-2.txz:  Rebuilt.
>>>   makepkg: allow setting COMPRESS_OPTION for xz as an environment variable.
>>>   Thanks to B. Watson.
>>> 
>> That was pretty efficient !
>I wish I knew how I did that :)

Don't sell yourself short ��

>So our numbers will describe the same thing... you're *just* testing
>compression speed, not the entire process of running the SlackBuild,
>right?
>I was thinking, my script would build a package as a .tgz, then
>un-gzip it to a .tar file, then time how long it takes to compress
>that file with the various compressors. That's basically what you're
>doing, right?

I'm sticking with pkgtools, so I have a prebuilt package from my own collection, I explodepkg in a ramdisk, then makepkg with usual options from SlackBuilds, only changing the extension of the package.
So I'm testing as much as possible what people would experience when slackbuilding, for the package creation itself only.

>You ever look at pbzip2? >Parallel implementation, might be faster...
>though makepkg can't use it unless it becomes part of core Slackware.

I did find out Slackware ships lbzip2, and pkgtools uses it if available, which is also a parallel bzip2, which renders it extremely fast on my 8-cores computer. I don't know the differences with pbzip2, or even bzip3, whose existence I'm discovering right now!

-- 
    - Yth.


More information about the SlackBuilds-users mailing list