Public bug reported:

While working on gzip I checked the upstream git repository and stumbled
over this release announcement:

```
** Performance improvements

  gzip now decompresses significantly faster by computing CRCs via a
  slice by 8 algorithm, and faster yet on x86-64 platforms that
  support pclmul instructions.
```

I tried to cherry-pick the relevant commits, but that is not trivial due
to using code from gnulib and upstream having a bootstrap script. So I
decided to prepare a merge from Debian (1.14-1~exp2ubuntu1). I tested
this version on my Framework 12 laptop:

```
$ sudo 3cpio -x -C initrd /boot/initrd.img
$ sudo tar -czf initrd.tar.gz initrd
$ sudo chown $USER initrd.tar.gz
$ hyperfine -L chroot old,new "schroot -c {chroot} -r -- gunzip -cd 
initrd.tar.gz"
Benchmark 1: schroot -c old -r -- gunzip -cd initrd.tar.gz
  Time (mean ± σ):     530.7 ms ±   7.0 ms    [User: 517.5 ms, System: 12.9 ms]
  Range (min … max):   522.8 ms … 544.1 ms    10 runs
 
Benchmark 2: schroot -c new -r -- gunzip -cd initrd.tar.gz
  Time (mean ± σ):     335.6 ms ±   3.1 ms    [User: 324.4 ms, System: 10.9 ms]
  Range (min … max):   331.0 ms … 341.9 ms    10 runs
 
Summary
  schroot -c new -r -- gunzip -cd initrd.tar.gz ran
    1.58 ± 0.03 times faster than schroot -c old -r -- gunzip -cd initrd.tar.gz
```

That is a noticeable speed improvement. Therefore I request a feature
freeze exception to merge 1.14-1~exp2 from Debian.

** Affects: gzip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142871

Title:
  [FFe] Update gzip to 1.14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/2142871/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to