** Description changed:
Binary package hint: file-roller
- file-roller should use the 7z program (from the package p7zip-full) to
decompress bzip2 archives, becauase it is faster than the bzip2 program itself.
- Get 100MB from /dev/urandom and compress it, one copy using bzip2 -1 and one
using bzip2 -9, then make a copy of each of these. You should not have 4 bzip2
archives, each about 100MB (because urandom doesn't compress well).
+ file-roller should use the 7z program (from the package p7zip-full) to
decompress bzip2 archives, because it is faster than the bzip2 program itself.
+ Get 100MB from /dev/urandom and compress it, one copy using bzip2 -1 and one
using bzip2 -9, then make a copy of each of these. You should now have 4 bzip2
archives, each about 100MB (because urandom doesn't compress well).
Extract one of each with 7z (7z x archive.bz2) and one with bzip2 (bunzip2
archive.bz2). Note how long it takes to extract. For me it was:
Compressed with -1:
bunzip2: 38 seconds
7z: 27 seconds
Compressed with -9:
bunzip2: 52 seconds
7z: 34 seconds.
If you pull the data from /dev/zero rather than /dev/urandom, all come
to 2 seconds, so no difference.
Version info:
[EMAIL PROTECTED]:~$ apt-cache policy bzip2 p7zip-full
bzip2:
Installed: 1.0.4-0ubuntu1
Candidate: 1.0.4-0ubuntu1
Version table:
*** 1.0.4-0ubuntu1 0
500 http://gb.archive.ubuntu.com gutsy/main Packages
100 /var/lib/dpkg/status
p7zip-full:
Installed: 4.47~dfsg.1-1
Candidate: 4.47~dfsg.1-1
Version table:
*** 4.47~dfsg.1-1 0
500 http://gb.archive.ubuntu.com gutsy/universe Packages
100 /var/lib/dpkg/status
[EMAIL PROTECTED]:~$
--
Use 7z to decompress bz2 archives
https://bugs.launchpad.net/bugs/124412
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs